Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/install/archiso
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2021-07-31 16:32:48 +0200
committerDavid Runge <dvzrv@archlinux.org>2021-07-31 17:32:40 +0200
commit37529a96766a5841fc6561acfbfbf42b3d6ff98a (patch)
tree14538b925812f0d6a30672c21e8952609ff28619 /install/archiso
parenta5f57c2bfa3f7b380f572b4e86845113d6b9ef15 (diff)
Fix formatting with shfmt
{hooks,install,script}/*: Fix formatting in all scripts using shfmt. Replace a few echo calls with printf.
Diffstat (limited to 'install/archiso')
-rw-r--r--install/archiso8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/archiso b/install/archiso
index c64e10e..d04e04f 100644
--- a/install/archiso
+++ b/install/archiso
@@ -19,10 +19,10 @@ build() {
add_binary gpg
add_binary grep
- if command -v pv > /dev/null 2>&1; then
- add_binary pv
+ if command -v pv >/dev/null 2>&1; then
+ add_binary pv
else
- warning 'pv not found; falling back to cp for copy to RAM'
+ warning 'pv not found; falling back to cp for copy to RAM'
fi
add_file /usr/lib/udev/rules.d/60-cdrom_id.rules
@@ -31,6 +31,6 @@ build() {
add_file /usr/lib/initcpio/udev/11-dm-initramfs.rules /usr/lib/udev/rules.d/11-dm-initramfs.rules
if [[ $ARCHISO_GNUPG_FD ]]; then
mkdir -m 0700 -- "$BUILDROOT/gpg"
- gpg --homedir "$BUILDROOT/gpg" --import <& "$ARCHISO_GNUPG_FD"
+ gpg --homedir "$BUILDROOT/gpg" --import <&"$ARCHISO_GNUPG_FD"
fi
}