publik-common/debian/preinst

25 lines
384 B
Bash

#!/bin/sh
# preinst script for publik-common
#
# see: dh_installdeb(1)
set -e
case "$1" in
install|upgrade)
test -f /etc/nginx/conf.d/client-max-body-size-10M.conf && rm /etc/nginx/conf.d/client-max-body-size-10M.conf
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0