index : archiso32 | |
Archlinux32 iso tools | 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 | c9cdb6d4b933fcd9cd06ff7d0544a3496b9d70bc (patch) | |
tree | aed9fd2e0d86a5bebb22b27ffbefd3ffc4518753 /archiso/initcpio/hooks | |
parent | bb503b90308ea12542c85dea9b799e11632158a6 (diff) |
-rw-r--r-- | archiso/initcpio/hooks/archiso | 2 |
diff --git a/archiso/initcpio/hooks/archiso b/archiso/initcpio/hooks/archiso index 485fb0f..d897ae1 100644 --- a/archiso/initcpio/hooks/archiso +++ b/archiso/initcpio/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=$? |