qsign: fallback err
This commit is contained in:
parent
7796a0ed9a
commit
39a7eac13d
2 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Contributor: psykose <alice@ayaya.dev>
|
||||
# Maintainer: psykose <alice@ayaya.dev>
|
||||
pkgname=qsign
|
||||
pkgver=8
|
||||
pkgver=9
|
||||
pkgrel=0
|
||||
pkgdesc="quicksign local apk repos"
|
||||
url="https://git.ddd.rip/ptrcnull/ptrcports"
|
||||
|
@ -17,6 +17,6 @@ package() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
0a63de15189fca63cd6841b999d70f88248845e16d233e0a82626e51144c52895da035587d97bb8dfef8111369786dbacb838e78c8438582836be48acd2e70d7 qsign
|
||||
4382fa690d1368f42514f4a519e94187bc91b4988817ed071d13e9723d73b629cee98e70637c469a58adc674f0b1cce0f0c09c7c04383ea333993e5b22990bd7 qsign
|
||||
c6791d0a4d74acfa81b74f4129b31e008fd409be0e2dad4fb2c04187385666a47d475d4795fe20dbc5afcc5b4e2a35462bd43fb5fac006e03bafad93de4f65bc qsign.conf
|
||||
"
|
||||
|
|
|
@ -10,7 +10,10 @@ arch="$(apk --print-arch)"
|
|||
for repo in $repos; do
|
||||
cd "$REPODEST/$repo/$arch" || continue
|
||||
s6-setlock /dev/shm/qsign-lock-$repo sh -c "
|
||||
apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz
|
||||
apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz || {
|
||||
echo 'index reuse failed; probably broken'
|
||||
apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz
|
||||
}
|
||||
abuild-sign APKINDEX.tar.gz
|
||||
"
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue