Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio
diff options
context:
space:
mode:
authorSimon Wilper <sxw@chronowerks.de>2021-01-05 13:04:39 +0000
committerSimon Wilper <sxw@chronowerks.de>2021-05-14 19:46:29 +0200
commitc9cdb6d4b933fcd9cd06ff7d0544a3496b9d70bc (patch)
treeaed9fd2e0d86a5bebb22b27ffbefd3ffc4518753 /archiso/initcpio
parentbb503b90308ea12542c85dea9b799e11632158a6 (diff)
Apply 1 suggestion(s) to 1 file(s)
Diffstat (limited to 'archiso/initcpio')
-rw-r--r--archiso/initcpio/hooks/archiso2
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=$?