From 9c637207c1449358bf665426b6ead6a6fcc0a930 Mon Sep 17 00:00:00 2001 From: theofficialgman <28281419+theofficialgman@users.noreply.github.com> Date: Thu, 23 Nov 2023 21:12:35 -0500 Subject: [PATCH] Minecraft Bedrock: purge packages on uninstall addresses concerns from https://github.com/Botspot/pi-apps/issues/2485 --- apps/Minecraft Bedrock/uninstall | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/Minecraft Bedrock/uninstall b/apps/Minecraft Bedrock/uninstall index d9ac75728e..0d0baaa7ff 100755 --- a/apps/Minecraft Bedrock/uninstall +++ b/apps/Minecraft Bedrock/uninstall @@ -1,3 +1,7 @@ #!/bin/bash + +#Allow packages required by this app to be uninstalled +purge_packages || exit 1 + sudo rm -f /opt/MCBedrock.AppImage rm -rf ~/.local/bin/MCBedrock.AppImage ~/'.cache/Minecraft Linux Launcher' ~/.cache/mcpelauncher ~/.cache/mcpelauncher-webview ~/.cache/msa ~/.cache/msa-ui-qt ~/.local/share/msa ~/.local/share/applications/minecraftbedrock.desktop