Files
weewx/pkg/debian/preinst
2018-07-07 16:22:48 +02:00

27 lines
410 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
#DEBHELPER#
exit 0