Another fix for postrm file in debs.
This commit is contained in:
@@ -115,7 +115,8 @@ fi
|
|||||||
EOF
|
EOF
|
||||||
cat > /tmp/$PKGNAME/debian/postrm << EOF
|
cat > /tmp/$PKGNAME/debian/postrm << EOF
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if [ \$2 != upgrade ] && [ -e /etc/alfis.conf ] then
|
if [ \$2 != upgrade ] && [ -e /etc/alfis.conf ]
|
||||||
|
then
|
||||||
rm /var/lib/alfis/blockchain.db
|
rm /var/lib/alfis/blockchain.db
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user