summaryrefslogtreecommitdiffstats
path: root/checkapk.in
diff options
context:
space:
mode:
Diffstat (limited to 'checkapk.in')
-rw-r--r--checkapk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkapk.in b/checkapk.in
index 6998868..e00e675 100644
--- a/checkapk.in
+++ b/checkapk.in
@@ -63,8 +63,8 @@ for i in $pkgname $subpackages; do
done
[ -f "$filepath" ] || die "can't find $pkgfile"
- # generate a temp repositories file with only the http repos
- grep ^http: /etc/apk/repositories > $tmpdir/repositories
+ # generate a temp repositories file with only the http(s) repos
+ grep -E "^https?:" /etc/apk/repositories > $tmpdir/repositories
oldpkg=$(apk fetch --repositories-file $tmpdir/repositories --simulate 2>&1 | sed 's/^Downloading //')
if [ "${oldpkg}" = "${pkg}" ]; then