From 77f70cd961923e9caa5e5a83bf32eeb5ea125255 Mon Sep 17 00:00:00 2001 From: Henrik Riomar Date: Fri, 19 May 2017 17:28:24 +0200 Subject: [PATCH] apk: an alpine package can be held back with < as well https://wiki.alpinelinux.org/wiki/Alpine_Linux_package_management#Holding_a_specific_package_back --- apk/apt-dater-host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apk/apt-dater-host b/apk/apt-dater-host index cc0a1eb..25c9fb8 100755 --- a/apk/apt-dater-host +++ b/apk/apt-dater-host @@ -52,7 +52,7 @@ get_prl() # check if a pkg is held back is_held() { - grep -E -q ^$1\= /etc/apk/world + grep -E -q -e ^$1\= -e ^$1\< /etc/apk/world } # check if $1 > $2 -- 2.13.0