summaryrefslogtreecommitdiff
path: root/gnome-unstable/gthumb/gthumb.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-14 23:14:41 +0000
committerroot <root@rshg054.dnsready.net>2011-09-14 23:14:41 +0000
commitd5effc9aadfb9ed5890376ca9497eef52fafcf83 (patch)
treef630036c6ee41473fffa6086618dcc803d1fe391 /gnome-unstable/gthumb/gthumb.install
parenta712dc92423a31a4d3ab34fe660df550feebf442 (diff)
Wed Sep 14 23:14:41 UTC 2011
Diffstat (limited to 'gnome-unstable/gthumb/gthumb.install')
-rw-r--r--gnome-unstable/gthumb/gthumb.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnome-unstable/gthumb/gthumb.install b/gnome-unstable/gthumb/gthumb.install
new file mode 100644
index 000000000..6046ebb6f
--- /dev/null
+++ b/gnome-unstable/gthumb/gthumb.install
@@ -0,0 +1,24 @@
+pkgname=gthumb
+
+post_install() {
+ usr/sbin/gconfpkg --install ${pkgname}
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}