Skip to content

Commit

Permalink
Update package/rebuild-todo
Browse files Browse the repository at this point in the history
Co-authored-by: Morten Linderud <[email protected]>
  • Loading branch information
Antiz96 and Foxboron authored Jan 10, 2025
1 parent b89ddc4 commit 54b1fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/rebuild-todo
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ pkgctl repo clone "${packages[@]}"
if ((IMPORT_KEYS)); then
echo "Importing PGP keys..."
# Only add paths that actually have key(s) to import and ignore paths that don't, don't exit on error
key_paths=($(find "${packages[@]/%//keys/pgp}" -type f 2>/dev/null || true))
mapfile -td ' ' key_paths < <(find "${packages[@]/%//keys/pgp}" -type f 2>/dev/null) || true

if ((${#key_paths[@]})); then
cat "${key_paths[@]}" | if [[ -z "$OFFLOAD" ]]; then
Expand Down

0 comments on commit 54b1fc8

Please sign in to comment.