post-install 790 B

123456789101112131415161718
  1. echo "Updating desktop database: update-desktop-database -q opt/trinity/share/applications/tde"
  2. chroot "$rootdir" /usr/bin/update-desktop-database -q opt/trinity/share/applications/tde 2> /dev/null
  3. echo "Updating ICON cache: gtk-update-icon-cache -q -f -i opt/trinity/share/icons/hicolor"
  4. chroot "$rootdir" /usr/bin/gtk-update-icon-cache -q -f -i opt/trinity/share/icons/hicolor 2> /dev/null
  5. echo "Updating ICON cache: gtk-update-icon-cache -q -f -i opt/trinity/share/icons/crystalsvg"
  6. chroot "$rootdir" /usr/bin/gtk-update-icon-cache -q -f -i opt/trinity/share/icons/crystalsvg 2> /dev/null
  7. # Re-create default TDE symlink in the final location,
  8. # instead of pointing to the package directory
  9. (
  10. cd -- "${rootdir}/opt/trinity/share/icons" && \
  11. ln -sf crystalsvg default.tde
  12. )