forked from I2P_Developers/i2p.i2p
Fix error message with dpkg --purge
This commit is contained in:
8
debian/scripts/postrm
vendored
8
debian/scripts/postrm
vendored
@@ -1,4 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# $1 is either "remove" or "purge". Since there are no config
|
||||||
|
# files left after a remove, exit here if called with "purge".
|
||||||
|
# This avoids calling userdel again which would cause an error.
|
||||||
|
if [ "$1" = "purge" ]; then
|
||||||
|
exit 0;
|
||||||
|
fi
|
||||||
|
|
||||||
I2PUSER=i2psvc
|
I2PUSER=i2psvc
|
||||||
exec userdel $I2PUSER
|
exec userdel $I2PUSER
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user