Skip to content

Commit

Permalink
ensure wget is installed before fetching gpg key
Browse files Browse the repository at this point in the history
  • Loading branch information
jpalus committed Mar 3, 2023
1 parent 8aaa508 commit 51e4f75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ create() {
run_log_priv "Setting up temporary chroot in $CHROOT_DIR" rpm --initdb --root "$CHROOT_DIR"
poldek_install "Installing packages from $SCRIPT_DIR/base.pkgs" --pset="$SCRIPT_DIR/base.pkgs" --root="$CHROOT_DIR" --pmopt='--define=_tmppath\ /tmp'
if [ ! -f "$SCRIPT_DIR/jpalus.asc" ]; then
check_dep wget
run_log "Fetching public key" wget http://jpalus.fastmail.com/jpalus.asc -O "$SCRIPT_DIR/jpalus.asc"
fi
check_dep gpg gnupg2
Expand Down

0 comments on commit 51e4f75

Please sign in to comment.