summaryrefslogtreecommitdiff
path: root/pcr/gnash/gnash-gtk.install
diff options
context:
space:
mode:
authorEsteban Carnevale <alfplayer@mailoo.org>2014-04-29 15:51:10 -0300
committerEsteban Carnevale <alfplayer@mailoo.org>2014-04-29 15:51:10 -0300
commit7eebd0f5616411b18aa597f9d071a22617ef6ac2 (patch)
treecdfea6e64734c1149bacfa5b4021cdf45fc70447 /pcr/gnash/gnash-gtk.install
parent1c1c34919dbaa1464f34a29c5e2372f69f8268d7 (diff)
gnash-0.8.11dev-2: add new package to [pcr]
Diffstat (limited to 'pcr/gnash/gnash-gtk.install')
-rw-r--r--pcr/gnash/gnash-gtk.install22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/gnash/gnash-gtk.install b/pcr/gnash/gnash-gtk.install
new file mode 100644
index 000000000..6678a7f8a
--- /dev/null
+++ b/pcr/gnash/gnash-gtk.install
@@ -0,0 +1,22 @@
+post_install() {
+ gconfpkg --install gnash
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ gconfpkg --uninstall gnash
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}