bugfix
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
Package: swarmops-frontend-internal
|
||||
Version: 5.0.56.381
|
||||
Version: --BuildNumber--
|
||||
Architecture: all
|
||||
Maintainer: Rick Falkvinge (swarmops-maintain@falkvinge.net)
|
||||
Depends: apache2 (>= 2.2.20), mono-apache-server2 (>= 2.10-1), libapache2-mod-mono (>= 2.10-1)
|
||||
|
||||
@@ -75,16 +75,17 @@ if [ -e "../templates/prerm-$PACKAGE.template" ]; then
|
||||
echo "Adding $PACKAGE prerm script..."
|
||||
cp ../templates/prerm-$PACKAGE.template DEBIAN/prerm
|
||||
else
|
||||
if [ -e "DEBIAN/prerm" ]
|
||||
if [ -e "DEBIAN/prerm" ]; then
|
||||
echo "Deleting old prerm script..."
|
||||
rm DEBIAN/prerm
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -e "../templates/postinst-$PACKAGE.template" ]; then
|
||||
echo "Adding $PACKAGE postinst script..."
|
||||
cp ../templates/postinst-$PACKAGE.template DEBIAN/postinst
|
||||
else
|
||||
if [ -e "DEBIAN/postinst" ]
|
||||
if [ -e "DEBIAN/postinst" ]; then
|
||||
echo "Deleting old postinst script..."
|
||||
rm DEBIAN/postinst
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user