From 7a65a910b77ad191d69881098c47f9b0c852d92e Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2013 01:33:19 -0700 Subject: Tue Aug 13 01:31:08 PDT 2013 --- community/gerbv/gerbv.install | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 community/gerbv/gerbv.install (limited to 'community/gerbv/gerbv.install') 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 +} -- cgit v1.2.3-54-g00ecf