makepkg: handle pgp signatures with .sign extension
Detached sgnature files with extension .sign are accepted by gnupg. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
601c808b8d
commit
e7b56f48d7
1 changed files with 2 additions and 2 deletions
|
@ -334,7 +334,7 @@ in_array() {
|
||||||
source_has_signatures(){
|
source_has_signatures(){
|
||||||
local file
|
local file
|
||||||
for file in "${source[@]}"; do
|
for file in "${source[@]}"; do
|
||||||
if [[ $file = *.@(sig|asc) ]]; then
|
if [[ $file = *.@(sig?(n)|asc) ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
@ -704,7 +704,7 @@ check_pgpsigs() {
|
||||||
|
|
||||||
for file in "${source[@]}"; do
|
for file in "${source[@]}"; do
|
||||||
file="$(get_filename "$file")"
|
file="$(get_filename "$file")"
|
||||||
if [[ ! $file = *.@(sig|asc) ]]; then
|
if [[ ! $file = *.@(sig?(n)|asc) ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue