This repository has been archived on 2023-01-08. You can view files and clone it, but cannot push or open issues or pull requests.
ptrcports/qsign/qsign
2022-06-20 07:22:13 +02:00

14 lines
316 B
Bash
Executable file

#!/bin/sh -e
arch="$(apk --print-arch)"
. /etc/abuild.conf
. /etc/qsign.conf
: ${repos:="main community testing"}
for repo in $repos; do
cd "$REPODEST/$repo/$arch" || continue
apk index --no-warnings --rewrite-arch=$arch ./*.apk -o APKINDEX.tar.gz -x APKINDEX.tar.gz
abuild-sign APKINDEX.tar.gz
done