Skip to content

Commit

Permalink
Omit groupdel call on uninstallation
Browse files Browse the repository at this point in the history
The installers don't create a group explicitly, so either both useradd
and userdel create/remove one implicitly, or neither do.
  • Loading branch information
weiss committed Oct 1, 2023
1 parent 4750ea6 commit e436e63
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/publish-release
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,5 @@ cat >"$web_root_dir/uninstall" <<-EOF
fi
rm -rf "/opt/\$rel_name"
userdel "\$rel_name"
groupdel "\$rel_name" 2>'/dev/null' || :
echo "\$rel_name has been uninstalled successfully."
EOF

0 comments on commit e436e63

Please sign in to comment.