]> git.sev.monster Git - abchr.git/blobdiff - abchr-newchroot
apkgvers: replace grep/sed with awk
[abchr.git] / abchr-newchroot
index 2879594a3b5f08d7186101cf518ecb3722c713c7..7bffa9cda3177e34dd12b162dc4cd33264f65c23 100755 (executable)
@@ -5,6 +5,7 @@ set -e
 [ "z$1" = z ] && return 1
 mirror=https://dl-cdn.alpinelinux.org/alpine/edge
 arch="${ABCHR_ARCH:-x86_64}"
 [ "z$1" = z ] && return 1
 mirror=https://dl-cdn.alpinelinux.org/alpine/edge
 arch="${ABCHR_ARCH:-x86_64}"
+apk update
 apk="apk-tools-static-$(apk info apk-tools-static |
   awk '{if (NR==1) {print substr($1,18)}}').apk"
 dir="$(dirname "$0")/../alpine"
 apk="apk-tools-static-$(apk info apk-tools-static |
   awk '{if (NR==1) {print substr($1,18)}}').apk"
 dir="$(dirname "$0")/../alpine"
This page took 0.087994 seconds and 4 git commands to generate.