summaryrefslogtreecommitdiff
path: root/community/sawfish/sawfish.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/sawfish/sawfish.install')
-rw-r--r--community/sawfish/sawfish.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/sawfish/sawfish.install b/community/sawfish/sawfish.install
new file mode 100644
index 000000000..340fe8596
--- /dev/null
+++ b/community/sawfish/sawfish.install
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+file=sawfish.info
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}