From 9c363936e9c6cbf93a0368f672d286ecfd40162d Mon Sep 17 00:00:00 2001 From: RPI News <44128563+mobilegmYT@users.noreply.github.com> Date: Mon, 21 Jun 2021 22:39:48 -0600 Subject: [PATCH] Better way to remove on uninstall --- apps/Minecraft Pi (Modded)/uninstall | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/Minecraft Pi (Modded)/uninstall b/apps/Minecraft Pi (Modded)/uninstall index 49b62d9..fca5a4b 100755 --- a/apps/Minecraft Pi (Modded)/uninstall +++ b/apps/Minecraft Pi (Modded)/uninstall @@ -8,8 +8,7 @@ function error { } sudo apt-get remove -y minecraft-pi-reborn-native &>/dev/null || true -sudo apt-get remove -y gmcpil &>/dev/null || true -sudo apt-get remove -y jmcpil &>/dev/null || true +"${DIRECTORY}/purge-installed" "$(dirname "$0")" || exit 1 sudo apt-get -y autoremove