blob: bf0dc11009a3111b43fceb631fecfac8be0d21df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From 77f70cd961923e9caa5e5a83bf32eeb5ea125255 Mon Sep 17 00:00:00 2001
From: Henrik Riomar <henrik.riomar@gmail.com>
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
|