mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 08:36:54 -04:00
27 lines
410 B
Bash
Executable File
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
|