blob: 274d592912247ee8bd1c213bf0017716782ac3b6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh -e
case "$1" in
install|upgrade)
# Older versions of this package had the conffile in the wrong
# location (the w3m binary didn't use it). Copy it if its there,
# so any customisation done there can be preserved. We actually
# get rid of the wrong file in our postinst.
if dpkg --compare-versions "$2" lt-nl "0.4.2-1.1"; then
if test -e /etc/w3m/w3mconfig; then
if ! test -e /etc/w3m/config; then
cp -a /etc/w3m/w3mconfig /etc/w3m/config
fi
fi
fi
;;
*)
esac
#DEBHELPER#
|