aboutsummaryrefslogtreecommitdiffstats
path: root/debian/postinst
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-03 16:44:14 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-05-03 16:44:14 +0000
commit3ed51b364482af64749980ed7ce67812046b1713 (patch)
treea0cc68bf216c153e65f3b336b6b3b043132c42cb /debian/postinst
parentAdding upstream version 0.1.10+0.1.11pre+kokb23 (diff)
downloadw3m-3ed51b364482af64749980ed7ce67812046b1713.tar.gz
w3m-3ed51b364482af64749980ed7ce67812046b1713.zip
Releasing debian version 0.1.10+0.1.11pre+kokb23-4debian/0.1.10+0.1.11pre+kokb23-4
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..2d2f4aa
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+#
+
+case "$1" in
+ configure)
+ update-alternatives --quiet --install /usr/bin/pager pager \
+ /usr/bin/w3m 25 \
+ --slave /usr/share/man/man1/pager.1.gz pager.1.gz \
+ /usr/share/man/man1/w3m.1.gz
+ ;;
+ *)
+esac
+
+#DEBHELPER#