|
|
|
@ -145,13 +145,13 @@ mkdir -p $PKG/install
|
|
|
|
|
cat <<EOINS >> $PKG/install/doinst.sh
|
|
|
|
|
# Update the desktop database:
|
|
|
|
|
if [ -x usr/bin/update-desktop-database ]; then
|
|
|
|
|
chroot . /usr/bin/update-desktop-database ${INSTALL_TDE}/applications > /dev/null 2>&1
|
|
|
|
|
chroot . /usr/bin/update-desktop-database ${INSTALL_TDE}/share/applications > /dev/null 2>&1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# Update hicolor theme cache:
|
|
|
|
|
if [ -d usr/share/icons/hicolor ]; then
|
|
|
|
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|
|
|
|
chroot . /usr/bin/gtk-update-icon-cache -f -t ${INSTALL_TDE}/icons/hicolor 1> /dev/null 2> /dev/null
|
|
|
|
|
chroot . /usr/bin/gtk-update-icon-cache -f -t ${INSTALL_TDE}/share/icons/hicolor 1> /dev/null 2> /dev/null
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|