git » base-pkgbuilds.git » commit dc6c940

First asignify use :)

author Urja (ARMLFS builder)
2024-07-06 12:35:54 UTC
committer Urja (ARMLFS builder)
2024-07-06 12:35:54 UTC
parent f1598cca8f7f19a0eb2d1ea3903cc78cf09e127c

First asignify use :)

pkg-repo.sh +3 -0

diff --git a/pkg-repo.sh b/pkg-repo.sh
index 0c8b2f3..3fa3717 100755
--- a/pkg-repo.sh
+++ b/pkg-repo.sh
@@ -7,5 +7,8 @@ fi
 PKG="$(echo *.pkg.tar.xz)"
 mv -v *.pkg.tar.xz /sources/pkg-base
 cd /sources/pkg-base
+if [ -e /etc/pacman.d/keys/armlfs-untested-key ]; then
+	asignify sign -nN -S .sig /etc/pacman.d/keys/armlfs-untested-key $PKG
+fi
 repo-add -R base.db.tar.gz $PKG
 pacman -Sy