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 ba5c991 commit a118549
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 @@ -229,7 +229,7 @@ if ((IMPORT_KEYS)); then
# 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))

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

0 comments on commit a118549

Please sign in to comment.