Mercurial > vim
view ci/remove_snap.sh @ 35140:9ba95f736abb
Added tag v9.1.0399 for changeset 617f9087f97c05289903b9e88f487ef74d8869fc
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 08 May 2024 22:30:04 +0200 |
parents | 752da4c70ab4 |
children |
line wrap: on
line source
#!/usr/bin/env sh pushd /etc/apt/preferences.d/ cat > nosnap.pref <<EOF # To prevent repository packages from triggering the installation of snap, # this file forbids snapd from being installed by APT. Package: snapd Pin: release a=* Pin-Priority: -10 EOF popd snap remove --purge $(snap list | awk '!/^Name|^core/ {print $1}') apt-get purge -y snapd