diff --git a/bootstrap.sh b/bootstrap.sh index d78738d..89b31c7 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -26,6 +26,11 @@ if [ "${MYUSER}" != "root" ]; then exit 1 fi +echo "## removing user" +if id "user" >/dev/null 2>&1; then + userdel -r -f user +fi + echo "*** START ***" echo "## cleaning sources.list"