From 6fd63176ef5dbafc54ef9e0ee2dd6f3c0157e628 Mon Sep 17 00:00:00 2001 From: Itai Nelken <70802936+Itai-Nelken@users.noreply.github.com> Date: Sun, 4 Apr 2021 15:21:07 +0300 Subject: [PATCH 1/2] Update uninstall --- apps/Lokinet/uninstall | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/Lokinet/uninstall b/apps/Lokinet/uninstall index a359a93..29704af 100755 --- a/apps/Lokinet/uninstall +++ b/apps/Lokinet/uninstall @@ -7,7 +7,9 @@ function error { exit 1 } -sudo apt remove lokinet-gui -y && sudo apt remove lokinet -y +sudo apt purge lokinet-gui -y || error "Failed to uninstall \"lokinet-gui\"!" +sudo apt purge lokinet -y || error "Failed to uninstall \"lokinet\"!" +sudo apt purge lokinet-bin - y || error "Failed to uninstall \"lokinet-bin\"!" if [ -e /etc/systemd/system/lokinet.service.d ]; then echo "removing systemd override" From a4ec552e9033f033daf681dfe1f7d03c386db208 Mon Sep 17 00:00:00 2001 From: Itai Nelken <70802936+Itai-Nelken@users.noreply.github.com> Date: Sun, 4 Apr 2021 16:00:01 +0300 Subject: [PATCH 2/2] Update uninstall --- apps/Lokinet/uninstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Lokinet/uninstall b/apps/Lokinet/uninstall index 29704af..6a462e5 100755 --- a/apps/Lokinet/uninstall +++ b/apps/Lokinet/uninstall @@ -9,7 +9,7 @@ function error { sudo apt purge lokinet-gui -y || error "Failed to uninstall \"lokinet-gui\"!" sudo apt purge lokinet -y || error "Failed to uninstall \"lokinet\"!" -sudo apt purge lokinet-bin - y || error "Failed to uninstall \"lokinet-bin\"!" +sudo apt purge lokinet-bin -y || error "Failed to uninstall \"lokinet-bin\"!" if [ -e /etc/systemd/system/lokinet.service.d ]; then echo "removing systemd override"