Skip to content

Commit

Permalink
tvheadend: fontconfig links are already all good using latest
Browse files Browse the repository at this point in the history
  • Loading branch information
th0ma7 authored and hgy59 committed Jun 14, 2021
1 parent dbd91b7 commit c29d26b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions spk/tvheadend/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@ service_postinst ()

# Edit the password configuration according to the wizard
sed -i -e "s/@password@/${wizard_password}/g" ${SYNOPKG_PKGVAR}/passwd/a927e30a755504f9784f23a4efac5109

# Fix fontconfig links
CONFD_DIR="${SYNOPKG_PKGDEST}/etc/fonts/conf.d"
FONTS_DIR="${SYNOPKG_PKGDEST}/share/fontconfig/conf.avail"
echo "Fixing fontconfig links"
for FONT_FILE in ${CONFD_DIR}/*.conf
do
FONT_NAME=$(basename "${FONT_FILE}")
$LN "${FONTS_DIR}/${FONT_NAME}" "${CONFD_DIR}/${FONT_NAME}"
done
}

service_preupgrade ()
Expand Down

0 comments on commit c29d26b

Please sign in to comment.