Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 75636d0aea9367637aad59ff4d5b190b > scriptlet

gimp-2.2.13-3.el5_10.x86_64.rpm

PREIN

/bin/sh
# First, remove old symlinks which are possibly in an old location (before a
# major version update)
if [ -x "/usr/sbin/gimp-plugin-mgr" ]; then
    /usr/sbin/gimp-plugin-mgr --uninstall '*' || :
fi

PREUN

/bin/sh
# Only delete symlinks when uninstalling
if [ "$1" = "0" ]; then
    /usr/sbin/gimp-plugin-mgr --uninstall '*' || :
fi

POSTIN

/bin/sh
/usr/bin/update-desktop-database /usr/share/applications
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
    gtk-update-icon-cache -q /usr/share/icons/hicolor
fi
# Then re-add the symlinks
/usr/sbin/gimp-plugin-mgr --install '*' || :

POSTUN

/bin/sh
if [ "$1" = "0" ]; then
    /usr/bin/update-desktop-database /usr/share/applications
fi
touch --no-create /usr/share/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
  gtk-update-icon-cache -q /usr/share/icons/hicolor
fi