Removed postrm scripts from debs, they are not working as expected anyway.

pull/61/head
Revertron 3 years ago
parent 214ef69927
commit 1997ccc298

@ -121,13 +121,6 @@ if command -v systemctl >/dev/null; then
systemctl disable alfis || true
fi
EOF
cat > /tmp/$PKGNAME/debian/postrm << EOF
#!/bin/sh
if [ \$2 != upgrade ] && [ -e /etc/alfis.conf ]
then
rm /var/lib/alfis/blockchain.db
fi
EOF
sudo cp alfis /tmp/$PKGNAME/usr/bin/
cp contrib/systemd/*.service /tmp/$PKGNAME/etc/systemd/system/

Loading…
Cancel
Save