Mercurial > vim
view ci/remove_snap.sh @ 34615:3a3f13bac124 v9.1.0197
patch 9.1.0197: Vim9: problem evaluating negated boolean logic
Commit: https://github.com/vim/vim/commit/5d77364e4afe69b28f6d8b3493595c5c6fc056b8
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Fri Mar 22 19:37:29 2024 +0100
patch 9.1.0197: Vim9: problem evaluating negated boolean logic
Problem: Vim9: problem evaluating negated boolean logic
(lxhillwind)
Solution: Don't clear the first value on short circuit evaluation
(Yegappan Lakshmanan)
fixes: #14265
closes: #14269
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 22 Mar 2024 20:00:04 +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