view ci/remove_snap.sh @ 34707:6b249d4970ad v9.1.0232

patch 9.1.0232: Conceal test fails when rightleft feature is disabled Commit: https://github.com/vim/vim/commit/5df961a1bc5ed14d0b5aa04ef59e9079313c268d Author: Julio B <julio.bacel@gmail.com> Date: Sun Mar 31 18:43:51 2024 +0200 patch 9.1.0232: Conceal test fails when rightleft feature is disabled Problem: Conceal test fails when rightleft feature is disabled. Solution: Skip test if rightleft feature is missing (Julio B). closes: #14342 Signed-off-by: Julio B <julio.bacel@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 31 Mar 2024 18:45:07 +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