index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | David Runge <dvzrv@archlinux.org> | 2021-07-31 16:32:48 +0200 |
---|---|---|
committer | David Runge <dvzrv@archlinux.org> | 2021-07-31 17:32:40 +0200 |
commit | 37529a96766a5841fc6561acfbfbf42b3d6ff98a (patch) | |
tree | 14538b925812f0d6a30672c21e8952609ff28619 /install/archiso | |
parent | a5f57c2bfa3f7b380f572b4e86845113d6b9ef15 (diff) |
-rw-r--r-- | install/archiso | 8 |
diff --git a/install/archiso b/install/archiso index c64e10e..d04e04f 100644 --- a/install/archiso +++ b/install/archiso @@ -19,10 +19,10 @@ build() { add_binary gpg add_binary grep - if command -v pv > /dev/null 2>&1; then - add_binary pv + if command -v pv >/dev/null 2>&1; then + add_binary pv else - warning 'pv not found; falling back to cp for copy to RAM' + warning 'pv not found; falling back to cp for copy to RAM' fi add_file /usr/lib/udev/rules.d/60-cdrom_id.rules @@ -31,6 +31,6 @@ build() { add_file /usr/lib/initcpio/udev/11-dm-initramfs.rules /usr/lib/udev/rules.d/11-dm-initramfs.rules if [[ $ARCHISO_GNUPG_FD ]]; then mkdir -m 0700 -- "$BUILDROOT/gpg" - gpg --homedir "$BUILDROOT/gpg" --import <& "$ARCHISO_GNUPG_FD" + gpg --homedir "$BUILDROOT/gpg" --import <&"$ARCHISO_GNUPG_FD" fi } |