Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks/archiso
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-01-02 11:23:43 +0100
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2015-01-02 15:13:35 -0300
commit1084bb1d6bf23dfd9ce01b446866a125b6ce1f38 (patch)
treec627ff7ff8e4a098eef466f94946b09bb1ad3957 /hooks/archiso
parentb49bfd99e82a97cebc59dbcbeaaf7857ee8a682d (diff)
use consistent syntax for boot parameter processing
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'hooks/archiso')
-rw-r--r--hooks/archiso4
1 files changed, 1 insertions, 3 deletions
diff --git a/hooks/archiso b/hooks/archiso
index addd08a..1bd9419 100644
--- a/hooks/archiso
+++ b/hooks/archiso
@@ -100,9 +100,7 @@ run_hook() {
[[ -z "${archisobasedir}" ]] && archisobasedir="arch"
[[ -z "${dm_snap_prefix}" ]] && dm_snap_prefix="arch"
[[ -z "${archisodevice}" ]] && archisodevice="/dev/disk/by-label/${archisolabel}"
- if [[ -z "${cowfile_size}" ]]; then
- cowfile_size="256M"
- fi
+ [[ -z "${cowfile_size}" ]] && cowfile_size="256M"
if [[ -n "${cow_label}" ]]; then
cow_device="/dev/disk/by-label/${cow_label}"