aboutsummaryrefslogtreecommitdiffstats
path: root/debian/w3m-img.postinst
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:24:02 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-04 07:24:02 +0000
commitd6d37ee0c991ead2b1613c0af242d2e603313d87 (patch)
treef54ef4313b0db75941e44bf480c5b9edfa16e208 /debian/w3m-img.postinst
parentReleasing debian version 0.5.1-5.1 (diff)
downloadw3m-d6d37ee0c991ead2b1613c0af242d2e603313d87.tar.gz
w3m-d6d37ee0c991ead2b1613c0af242d2e603313d87.zip
Releasing debian version 0.5.2-1debian/0.5.2-1
Diffstat (limited to 'debian/w3m-img.postinst')
-rw-r--r--debian/w3m-img.postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/w3m-img.postinst b/debian/w3m-img.postinst
new file mode 100644
index 0000000..6f3908b
--- /dev/null
+++ b/debian/w3m-img.postinst
@@ -0,0 +1,9 @@
+#! /bin/sh
+set -e
+
+if dpkg-statoverride --list /usr/lib/w3m/w3mimgdisplay >/dev/null ; then
+ dpkg-statoverride --remove /usr/lib/w3m/w3mimgdisplay
+fi
+dpkg-statoverride --update --add root video 2755 /usr/lib/w3m/w3mimgdisplay
+
+#DEBHELPER#