diff options
| 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 | |
| parent | bb503b90308ea12542c85dea9b799e11632158a6 (diff) | |
| download | archiso-c9cdb6d4b933fcd9cd06ff7d0544a3496b9d70bc.tar.gz archiso-c9cdb6d4b933fcd9cd06ff7d0544a3496b9d70bc.tar.bz2 | |
Apply 1 suggestion(s) to 1 file(s)
| -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=$? |
