view ci/remove_snap.sh @ 36309:5cb1efd18a33 draft v9.1.0781

patch 9.1.0781: tests: test_filetype fails Commit: https://github.com/vim/vim/commit/7d755d8ef328a3eced18c57ea1b569898cc448a2 Author: Christian Brabandt <cb@256bit.org> Date: Sun Oct 13 20:28:21 2024 +0200 patch 9.1.0781: tests: test_filetype fails Problem: tests: test_filetype fails (clason) (after v9.1.0779) Solution: Use correct filename for neomuttlog filetype related: #15845 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 13 Oct 2024 20:45: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