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:
Arksine 2021-02-08 06:48:19 -05:00
parent f9dcda7ba9
commit ceaa4911bb
1 changed files with 0 additions and 9 deletions

View File

@ -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