scripts: revert the "remove_sudo_fix" addition
This causes the uninstallation script to fail if the user has not applied the patch. It should be removed in a separate script. Signed-off-by: Eric Callahan <arksine.colde@gmail.com>
This commit is contained in:
parent
f9dcda7ba9
commit
ceaa4911bb
|
@ -25,14 +25,6 @@ remove_service() {
|
|||
fi
|
||||
}
|
||||
|
||||
remove_sudo_fix() {
|
||||
echo
|
||||
echo "#### Removing sudo_fix"
|
||||
sudo gpasswd -d $USER mnrkrsudo
|
||||
sudo delgroup --only-if-empty mnrkrsudo
|
||||
sudo rm -f /etc/sudoers.d/020-sudo-for-moonraker
|
||||
}
|
||||
|
||||
remove_files() {
|
||||
# Remove API Key file from older versions
|
||||
if [ -e ~/.klippy_api_key ]; then
|
||||
|
@ -77,4 +69,3 @@ verify_ready
|
|||
stop_service
|
||||
remove_service
|
||||
remove_files
|
||||
remove_sudo_fix
|
||||
|
|
Loading…
Reference in New Issue