Commit 69a2d30b authored by Andrew Lee's avatar Andrew Lee

Delete obsservicerun first as it's in the obsrun group that may cause problem...

Delete obsservicerun first as it's in the obsrun group that may cause problem to remove obsrun group.
Signed-off-by: Andrew Lee's avatarAndrew Lee (李健秋) <ajqlee@debian.org>
parent ed143188
......@@ -12,7 +12,7 @@ if [ "$1" = "purge" ]; then
rmdir /srv/obs 2>/dev/null || true
# Delete obs users and group
for USERNAME in obsrun obsservicerun; do
for USERNAME in obsservicerun obsrun; do
if [ -x "$(command -v deluser)" ]; then
deluser --quiet --system $USERNAME > /dev/null || true
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment