annotate ci/remove_snap.sh @ 35229:925475d6ebae default tip

runtime(matchit): update matchit plugin to v1.20 Commit: https://github.com/vim/vim/commit/8cf29e4c4a2af75bf31ef16ef108aea61c165af8 Author: Christian Brabandt <cb@256bit.org> Date: Mon May 20 20:02:16 2024 +0200 runtime(matchit): update matchit plugin to v1.20 fixes: https://github.com/vim/vim/issues/14814 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 20 May 2024 20:15:02 +0200
parents 752da4c70ab4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34246
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 #!/usr/bin/env sh
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 pushd /etc/apt/preferences.d/
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3 cat > nosnap.pref <<EOF
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
4 # To prevent repository packages from triggering the installation of snap,
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
5 # this file forbids snapd from being installed by APT.
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
6
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
7 Package: snapd
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
8 Pin: release a=*
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
9 Pin-Priority: -10
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
10 EOF
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
11 popd
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
12 snap remove --purge $(snap list | awk '!/^Name|^core/ {print $1}')
752da4c70ab4 CI: get rid of snap and speed up CI (#13938)
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
13 apt-get purge -y snapd