diff options
author | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-31 23:14:57 +0000 |
commit | c34f78dd37c2a2015d43de5d89748a2f8147ba1b (patch) | |
tree | 2e3912930db02e8f8cbfa8a58eae203b886fa2d9 /community-testing/geda-gaf/geda-gaf.install | |
parent | 902eddd7e029eda6fc1c668b31e696c6ca3edbc7 (diff) |
Tue Jan 31 23:14:56 UTC 2012
Diffstat (limited to 'community-testing/geda-gaf/geda-gaf.install')
-rw-r--r-- | community-testing/geda-gaf/geda-gaf.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community-testing/geda-gaf/geda-gaf.install b/community-testing/geda-gaf/geda-gaf.install new file mode 100644 index 000000000..ad5e587cc --- /dev/null +++ b/community-testing/geda-gaf/geda-gaf.install @@ -0,0 +1,19 @@ +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 +update-mime-database usr/share/mime +} + +post_upgrade() { +post_install +} + +post_remove() { +post_install +}
\ No newline at end of file |