Advertisement
s243a

petget LN# 294 to 312 - update, cache, index & menu

Apr 21st, 2018
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.71 KB | None | 0 0
  1. #w0910 update image cache... $LN# 294 to 312 of /usr/sbin/petget (tahrpup) - https://www.pearltrees.com/s243a/source-petget-usr-sbin/id20395775/item224037706
  2. if [ -f /root/.packages/${PKGNAME}.files ];then
  3.  if [ "`grep 'usr/share/icons/hicolor' /root/.packages/${PKGNAME}.files`" != "" ];then
  4.   gtk-update-icon-cache -f /usr/share/icons/hicolor/
  5.  fi
  6. fi
  7.  
  8. #master help index has to be updated...
  9. /usr/sbin/indexgen.sh
  10. #Reconstruct configuration files for JWM, Fvwm95, IceWM...
  11. if [ "$INSTALLEDCAT" != "none" ];then
  12.  /usr/sbin/fixmenus
  13.  [ "`pidof jwm`" != "" ] && { jwm -reload || jwm -restart ; }
  14. fi
  15.  
  16. kill $X3PID 2>/dev/null
  17. [ ! "$DISPLAY" ] && rm -r /tmp/{remove_pets,install}_quietly 2>/dev/null
  18.  
  19. ###END###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement