Another fix for postrm file in debs.

pull/61/head
Revertron 3 years ago
parent 661130847d
commit 67757a3f16

@ -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

Loading…
Cancel
Save