diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gerbv/gerbv.install |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gerbv/gerbv.install')
-rw-r--r-- | community/gerbv/gerbv.install | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/community/gerbv/gerbv.install b/community/gerbv/gerbv.install new file mode 100644 index 000000000..8cfe0686c --- /dev/null +++ b/community/gerbv/gerbv.install @@ -0,0 +1,21 @@ +post_install() { +if [ -x /usr/bin/gtk-update-icon-cache ]; then + echo Updating icon cache... + /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor +fi +if [ -x /usr/bin/update-desktop-database ]; then + echo Updating desktop database.. + /usr/bin/update-desktop-database /usr/share/applications +fi +} + +post_upgrade() { +if [ -x /usr/bin/gtk-update-icon-cache ]; then + echo Updating icon cache... + /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor +fi +if [ -x /usr/bin/update-desktop-database ]; then + echo Updating desktop database.. + /usr/bin/update-desktop-database /usr/share/applications +fi +} |