Another fix for postrm file in debs.

This commit is contained in:
Revertron
2021-04-17 12:00:29 +02:00
parent 661130847d
commit 67757a3f16
+2 -1
View File
@@ -115,7 +115,8 @@ fi
EOF
cat > /tmp/$PKGNAME/debian/postrm << EOF
#!/bin/sh
if [ \$2 != upgrade ] && [ -e /etc/alfis.conf ] then
if [ \$2 != upgrade ] && [ -e /etc/alfis.conf ]
then
rm /var/lib/alfis/blockchain.db
fi
EOF