view ci/remove_snap.sh @ 34557:28dab9103dd5 v9.1.0179

patch 9.1.0179: 'wincolor' highlight missing with "below" virtual text Commit: https://github.com/vim/vim/commit/9352c282928f6cb25060249c157a28803c6efa9d Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Mar 14 18:16:56 2024 +0100 patch 9.1.0179: 'wincolor' highlight missing with "below" virtual text Problem: 'wincolor' highlight missing with "below" virtual text. Solution: Subtract n_attr_skip from n_attr. Combine 'wincolor' with other highlights when 'nowrap' is set. (zeertzjq) closes: #14196 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Mar 2024 18:30:03 +0100
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