view ci/remove_snap.sh @ 34842:87c0152e321c v9.1.0290

patch 9.1.0290: filetype: xilinx files are not recognized Commit: https://github.com/vim/vim/commit/614691ceefb2b2470cd9097013ffc140f81d6a71 Author: Wu, Zhenyu <wuzhenyu@ustc.edu> Date: Tue Apr 9 22:14:37 2024 +0200 patch 9.1.0290: filetype: xilinx files are not recognized Problem: filetype: xilinx files are not recognized Solution: Add a few xilinx specific file patterns, inspect lpr files for being xml/pascal (Wu, Zhenyu) closes: #14454 Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Tue, 09 Apr 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