aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xentrypoint.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/entrypoint.sh b/entrypoint.sh
index ecd1a86..687a0e2 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -13,6 +13,8 @@ if [ ! -r "$HOME/.abuild/abuild.conf" ]; then
abuild-keygen -n -i -a
fi
+( . "$HOME/.abuild/abuild.conf" ; if [ ! -s "$PACKAGER_PRIVKEY" ]; then abuild-keygen -n -i -a; fi )
+
sudo cp -v "$HOME"/.abuild/*.pub /etc/apk/keys/
exec "$(command -v abuild)" "$@"