view ci/remove_snap.sh @ 35112:51e50414b5ee default tip

translation(sr): update Serbian menu Commit: https://github.com/vim/vim/commit/5bf7446ba2b2eab36685176379a642472891ff88 Author: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Date: Thu May 2 22:16:10 2024 +0200 translation(sr): update Serbian menu closes: https://github.com/vim/vim/issues/14669 closes: https://github.com/vim/vim/issues/10722 Signed-off-by: Oleg Zadorozhnyi <lesorubshayan@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 02 May 2024 22:30:03 +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