diff options
| -rw-r--r-- | archiso/initcpio/hooks/archiso | 2 |
1 files changed, 1 insertions, 1 deletions
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=$? |
