diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2017-05-26 19:59:55 +0200 |
---|---|---|
committer | Shiz <hi@shiz.me> | 2017-06-02 10:58:42 +0200 |
commit | 7fc7e98817fc3ecaf08eea068202caf3ce301acf (patch) | |
tree | 28a596c302ed5acd9083162f54365a59b91f967a /testing/apt-dater-host/0003-apk-an-alpine-package-can-be-held-back-with-as-well.patch | |
parent | 0bc88b0ef76390f81ba815126568c41f1b7c4f1b (diff) | |
download | aports-7fc7e98817fc3ecaf08eea068202caf3ce301acf.tar.bz2 aports-7fc7e98817fc3ecaf08eea068202caf3ce301acf.tar.xz |
testing/apt-dater-host: fixes two bugs
Upstream-Issue: https://github.com/DE-IBH/apt-dater-host/pull/19
Diffstat (limited to 'testing/apt-dater-host/0003-apk-an-alpine-package-can-be-held-back-with-as-well.patch')
-rw-r--r-- | testing/apt-dater-host/0003-apk-an-alpine-package-can-be-held-back-with-as-well.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/apt-dater-host/0003-apk-an-alpine-package-can-be-held-back-with-as-well.patch b/testing/apt-dater-host/0003-apk-an-alpine-package-can-be-held-back-with-as-well.patch new file mode 100644 index 0000000000..bf0dc11009 --- /dev/null +++ b/testing/apt-dater-host/0003-apk-an-alpine-package-can-be-held-back-with-as-well.patch @@ -0,0 +1,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 + |