Files
weewx/pkg/debian/preinst
2015-03-08 11:03:39 -04:00

25 lines
397 B
Bash
Executable File

#!/bin/sh
# preinst script for weewx debian package
# Copyright 2014 Matthew Wall
# abort if any command returns error
set -e
# get debconf stuff so we can set configuration defaults
. /usr/share/debconf/confmodule
case "$1" in
install|upgrade)
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0