aboutsummaryrefslogtreecommitdiffstats
path: root/debian/w3m-img.postinst
diff options
context:
space:
mode:
Diffstat (limited to '')
-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#