Package: wmweather
Version: 2.4.3-2
Severity: serious

postrm:
========

if [ "$1" = purge ]; then
        rm -f /etc/wmweather.conf


preinst:
========

umask 022
cat > /etc/wmweather.conf.dpkg-new << EOF
# wmweather system-wide configuration
# see also wmweather(1)

# find your station id at http://www.nws.noaa.gov/tg/siteloc.shtml
station = $station

# show metric values, e.g. <B0>C instead of <B0>F, and use Beaufort scale
$metric
beaufort
EOF

mv -fb /etc/wmweather.conf.dpkg-new /etc/wmweather.conf

dpkg info:
=========

../status: /etc/wmweather.conf 4c2e5d98d1f9a60cb1367455c5afc830
wmweather.list:/etc/wmweather.conf
wmweather.conffiles:/etc/wmweather.conf




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to