summaryrefslogtreecommitdiffstats
path: root/transmission-remote-gtk/transmission-remote-gtk.install
diff options
context:
space:
mode:
Diffstat (limited to 'transmission-remote-gtk/transmission-remote-gtk.install')
-rw-r--r--transmission-remote-gtk/transmission-remote-gtk.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/transmission-remote-gtk/transmission-remote-gtk.install b/transmission-remote-gtk/transmission-remote-gtk.install
new file mode 100644
index 0000000..0814907
--- /dev/null
+++ b/transmission-remote-gtk/transmission-remote-gtk.install
@@ -0,0 +1,20 @@
+post_install() {
+ usr/sbin/gconfpkg --install transmission-remote-gtk
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/transmission-remote-gtk.schemas ]; then
+ usr/sbin/gconfpkg --uninstall transmission-remote-gtk
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}