diff options
author | not_anonymous | 2015-07-05 18:11:45 -0600 |
---|---|---|
committer | not_anonymous | 2015-07-05 18:11:45 -0600 |
commit | 97d9013c4744d52fa4f0a2e4f07dafd083f82c16 (patch) | |
tree | b8ab9437d8f99baa6fd91a128ed50147b5529683 /perl-padre.install | |
download | aur-perl-padre.tar.gz |
Initial import
Diffstat (limited to 'perl-padre.install')
-rw-r--r-- | perl-padre.install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/perl-padre.install b/perl-padre.install new file mode 100644 index 000000000000..7df923eb1e4e --- /dev/null +++ b/perl-padre.install @@ -0,0 +1,22 @@ +post_install() { + if which update-desktop-database &>/dev/null; then + update-desktop-database -q usr/share/applications + fi +# if which update-menus &>/dev/null; then +# update-menus +# fi +# if which update-mime-database &>/dev/null; then +# update-mime-database usr/share/mime &>/dev/null +# fi + if which gtk-update-icon-cache &>/dev/null; then + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + fi +} + +post_upgrade() { + post_install $ +} + +post_remove() { + post_install $ +} |