mirror of
https://github.com/grobo021/snap-nuke.git
synced 2025-02-22 17:22:00 +00:00
Merge pull request #2 from grobo021/theoware/main
make it more intuitive
This commit is contained in:
commit
e203ec6169
10
snap-nuke.sh
10
snap-nuke.sh
@ -40,11 +40,13 @@ do
|
|||||||
sudo umount $I
|
sudo umount $I
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "UGFja2FnZTogc25hcGQKUGluOiByZWxlYXNlIGE9KgpQaW4tUHJpb3JpdHk6IC0xMAo=" | base64 -d > nosnap.pref
|
cat << EOF > nosnap.pref
|
||||||
|
Package: snapd
|
||||||
|
Pin: release a=*
|
||||||
|
Pin-Priority: -10
|
||||||
|
EOF
|
||||||
|
|
||||||
sudo cp nosnap.pref /etc/apt/preferences.d/nosnap.pref
|
sudo mv nosnap.pref /etc/apt/preferences.d/nosnap.pref
|
||||||
|
|
||||||
rm nosnap.pref
|
|
||||||
|
|
||||||
sudo apt-get purge snapd
|
sudo apt-get purge snapd
|
||||||
rm -rf ~/snap
|
rm -rf ~/snap
|
||||||
|
Loading…
x
Reference in New Issue
Block a user