doinst.sh 603 B

12345678910111213141516171819
  1. # update texmf to recognize the newly installed sagetex
  2. if [ -x /usr/share/texmf/bin/texhash ]; then
  3. /usr/share/texmf/bin/texhash usr/share/texmf >/dev/null 2>&1
  4. fi
  5. if [ -x /usr/bin/update-desktop-database ]; then
  6. /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
  7. fi
  8. if [ -x /usr/bin/update-mime-database ]; then
  9. /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
  10. fi
  11. if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
  12. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  13. /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
  14. fi
  15. fi