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