Commit 763d8ffb authored by Johannes Löthberg's avatar Johannes Löthberg Committed by Evangelos Foutras
Browse files

commitpkg: Force unarmored signatures

Pacman cannot handle armored signatures, so force a generation of a
binary one using the --no-armor flag.
parent a1594ae1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -147,7 +147,7 @@ for _arch in ${arch[@]}; do
			if [[ -n $GPGKEY ]]; then
				SIGNWITHKEY="-u ${GPGKEY}"
			fi
			gpg --detach-sign --use-agent ${SIGNWITHKEY} "${pkgfile}" || die
			gpg --detach-sign --use-agent --no-armor ${SIGNWITHKEY} "${pkgfile}" || die
		fi
		if ! gpg --verify "$sigfile" >/dev/null 2>&1; then
			die "Signature %s.sig is incorrect!" "$pkgfile"