summaryrefslogtreecommitdiff
path: root/pcr/gnash/gnash-gtk.install
diff options
context:
space:
mode:
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
+}