index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Simon Wilper <sxw@chronowerks.de> | 2021-01-05 13:04:39 +0000 |
---|---|---|
committer | Simon Wilper <sxw@chronowerks.de> | 2021-05-14 19:46:29 +0200 |
commit | 22b57518a6e16ff85224f3aa6601e6b70831e534 (patch) | |
tree | f1745657aa67de0e5fb7817ea10906caf9d970a3 | |
parent | c3914f980fa2c59fa42bc17af73200cf5365bbf9 (diff) |
-rw-r--r-- | hooks/archiso | 2 |
diff --git a/hooks/archiso b/hooks/archiso index 485fb0f..d897ae1 100644 --- a/hooks/archiso +++ b/hooks/archiso @@ -72,7 +72,7 @@ _mnt_sfs() { # in case we have pv use it to display copy progress feedback otherwise # fallback to using plain cp - if [ -x /usr/bin/pv ]; then + if command -v pv > /dev/null 2>&1; then echo "" (pv "${img}" > "/run/archiso/copytoram/${img_fullname}") local rc=$? |