diff options
author | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-12-29 02:13:48 -0800 |
commit | 5dd7ed82e788ebad2e920e0f2db7468cc6547cfe (patch) | |
tree | f467412e09912ababcd8fe6c05193d829f514dcd /community/opera/opera.install | |
parent | 3009e8addb4a894329bf8ab3e8fb763361833978 (diff) |
Sat Dec 29 02:10:20 PST 2012
Diffstat (limited to 'community/opera/opera.install')
-rw-r--r-- | community/opera/opera.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/community/opera/opera.install b/community/opera/opera.install new file mode 100644 index 000000000..1190e6fd6 --- /dev/null +++ b/community/opera/opera.install @@ -0,0 +1,20 @@ +available() { + which "$1" >/dev/null 2>&1 +} + +post_install() { + update-mime-database /usr/share/mime >/dev/null + update-desktop-database -q /usr/share/applications + + if available gtk-update-icon-cache; then + gtk-update-icon-cache -q /usr/share/icons/hicolor + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |