From fec950aee4e2a7b8dd8e28458a24ba8c5555ca12 Mon Sep 17 00:00:00 2001
From: Botspot <54716352+Botspot@users.noreply.github.com>
Date: Sat, 15 Jul 2023 18:42:30 -0500
Subject: [PATCH] Snap Store: Remove the removal of Add/Remove Software
Turns out it does not conflict with Add/Remove Software
---
apps/Snap Store/install | 8 --------
1 file changed, 8 deletions(-)
diff --git a/apps/Snap Store/install b/apps/Snap Store/install
index 78a258b74d..a8064d277e 100755
--- a/apps/Snap Store/install
+++ b/apps/Snap Store/install
@@ -1,13 +1,5 @@
#!/bin/bash
# Get dependencies
-if package_installed pi-package ;then #pi-package-data conflicts with gnome-packagekit-data - see https://github.com/raspberrypi-ui/pipackage/issues/7
- yad --class Pi-Apps --name "Pi Apps" --center --window-icon="${DIRECTORY}/icons/logo.png" --title="Pi-Apps" --image=system-software-install \
- --text="Snap Store now cannot be installed along with the Add / Remove Software program."$'\n'"Do you wish to remove it now, or cancel installation?" \
- --button="Remove Add / Remove Software":0 --button="Cancel installation of Snap Store":1 || error "User error: exited"
- apt_lock_wait
- sudo apt purge -y pi-package pi-package-data pi-package-session --autoremove || error "APT failed to remove the "\""Add / Remove Software"\"" program"
-fi
-
install_packages libsquashfuse0 squashfuse fuse libgconf-2-4 || exit 1
sudo apt install -y snapd || error "APT failed to install snapd"