From ceaa4911bbd99c20a7415394e37e05d6c369900f Mon Sep 17 00:00:00 2001 From: Arksine Date: Mon, 8 Feb 2021 06:48:19 -0500 Subject: [PATCH] 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 --- scripts/uninstall-moonraker.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/uninstall-moonraker.sh b/scripts/uninstall-moonraker.sh index 03f2050..e2d1571 100755 --- a/scripts/uninstall-moonraker.sh +++ b/scripts/uninstall-moonraker.sh @@ -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