forked from extern/shorewall_code
20 lines
460 B
Plaintext
20 lines
460 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
case "$1" in
|
||
|
upgrade)
|
||
|
# if we are upgrading from version < 3.4 then we have to rename the
|
||
|
# configuration file
|
||
|
if [ "$2" ] && dpkg --compare-versions "$2" lt "3.4"
|
||
|
then
|
||
|
if [ -f /etc/shorewall-lite/shorewall.conf ]
|
||
|
then
|
||
|
ln /etc/shorewall-lite/shorewall.conf /etc/shorewall-lite/shorewall-lite.conf
|
||
|
fi
|
||
|
fi
|
||
|
;;
|
||
|
*)
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
#DEBHELPER#
|