summarylogtreecommitdiffstats
path: root/gnash.install
diff options
context:
space:
mode:
authorIru Cai2015-08-09 09:32:18 +0800
committerIru Cai2015-08-09 09:32:18 +0800
commit94a1ff77af2a980abc1ea71deab8ee8f145f72b5 (patch)
treea64bac477db70ce084506cb353b629de17eafe37 /gnash.install
downloadaur-94a1ff77af2a980abc1ea71deab8ee8f145f72b5.tar.gz
initial commit
Diffstat (limited to 'gnash.install')
-rw-r--r--gnash.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnash.install b/gnash.install
new file mode 100644
index 000000000000..7716efc65332
--- /dev/null
+++ b/gnash.install
@@ -0,0 +1,17 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}