summarylogtreecommitdiffstats
path: root/sawfish.install
diff options
context:
space:
mode:
Diffstat (limited to 'sawfish.install')
-rw-r--r--sawfish.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/sawfish.install b/sawfish.install
new file mode 100644
index 000000000000..9e214f2d2222
--- /dev/null
+++ b/sawfish.install
@@ -0,0 +1,19 @@
+info_dir=/usr/share/info
+
+post_install() {
+ install-info ${info_dir}/sawfish.info.gz ${info_dir}/dir
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ install-info --delete ${info_dir}/sawfish.info.gz ${info_dir}/dir
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+