Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge 22.10 patch (#8)
Browse files Browse the repository at this point in the history
* Update NoFoxGiven.sh

* Update NoFoxGiven.sh

* Remove warning
  • Loading branch information
Jacksaur authored Dec 7, 2022
1 parent c659bab commit f72648e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 9 additions & 4 deletions NoFoxGiven.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,20 @@ echo

echo "Proceeding to remove Snap..."
sleep 7
#Uninstalling Snap through Apt causes it to automatically uninstall all snaps first, so Snap remove commands aren't needed
sudo apt purge -y snapd
sudo apt purge -y libsnapd-qt1
sudo snap remove firefox
sudo snap remove gnome-3-38-2004
sudo snap remove gtk-common-themes
sudo snap remove bare
sudo snap remove core20
sudo snap remove snapd
sudo apt remove --autoremove -y snapd
sudo apt remove --purge -y plasma-discover-backend-snap

rm -rf ~/snap
sudo rm -rf /snap
sudo rm -rf /var/snap
sudo rm -rf /var/cache/snapd/
sudo rm -rf /var/lib/snapd
sudo apt remove --purge plasma-discover-backend-snap
sudo apt-mark hold snapd
echo
echo "Removal complete! Snap has also been marked to be held back."
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# -- NOT CURRENTLY SUPPORTED FOR KUBUNTU 22.10. USE IS NOT RECOMMENDED UNTIL SCRIPT IS FIXED --

# NoFoxGiven
Automated script to remove all traces of Snap, including reinstalling a standalone version of Firefox.
This is my first script I'm making publically available, Any suggestions or improvements are welcome.

This script will download the latest [Standalone version of Firefox from Mozilla](https://www.mozilla.org/en-GB/firefox/all/#product-desktop-release), uninstall all Snaps installed by default, then remove Snap itself and mark it to be held back: Preventing any further snaps from being installed in future.
This script is designed for use with Kubuntu 22.04 and above. It is untested on any other distro, including KDE Neon, but it should be ok on that, given its Ubuntu base..
This script is designed for use with Kubuntu 22.04 or above. It is not tested, nor recommended for, other Distros.

Newly added: An optional set of legacy icons are now included, from before Mozilla's controversial redesign. Rename the "legacy" folder to replace the existing "icons" folder before executing the script to use them.
<p align="center">
Expand Down

0 comments on commit f72648e

Please sign in to comment.