diff options
author | Daniel Baumann <daniel@debian.org> | 2012-06-05 16:39:52 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-06-05 19:35:56 +0200 |
commit | 97c0e08bd0f00264eb3c2c5896a28e25a89d9f6f (patch) | |
tree | ff2720832bf061beb2ab505599667b7be1de0137 /scripts/boot/misc-helpers.sh | |
parent | d16c9d87a189d136231a48f6ccd1fd54d4debaf5 (diff) | |
download | live-boot-97c0e08bd0f00264eb3c2c5896a28e25a89d9f6f.tar.gz live-boot-97c0e08bd0f00264eb3c2c5896a28e25a89d9f6f.zip |
Consistenly using 'true' instead of 'Yes' or 'yes' when using booleans.
Diffstat (limited to 'scripts/boot/misc-helpers.sh')
-rwxr-xr-x | scripts/boot/misc-helpers.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/scripts/boot/misc-helpers.sh b/scripts/boot/misc-helpers.sh index abb2dd2..856a023 100755 --- a/scripts/boot/misc-helpers.sh +++ b/scripts/boot/misc-helpers.sh @@ -712,16 +712,16 @@ removable_dev () then if [ -z "${want_usb}" ] then - dev_ok="yes" + dev_ok="true" else if readlink ${sysblock} | grep -q usb then - dev_ok="yes" + dev_ok="true" fi fi fi - if [ "${dev_ok}" = "yes" ] + if [ "${dev_ok}" = "true" ] then case "${output_format}" in sys) @@ -940,7 +940,7 @@ get_custom_mounts () opt_source=${opt#source=} ;; link) - opt_link="yes" + opt_link="true" ;; union|bind) ;; @@ -1008,22 +1008,22 @@ activate_custom_mounts () while read device source dest options # < ${custom_mounts} do - local opt_bind="yes" + local opt_bind="true" local opt_link="" local opt_union="" for opt in $(echo ${options} | tr ',' ' '); do case "${opt}" in bind) - opt_bind="yes" + opt_bind="true" unset opt_link opt_union ;; link) - opt_link="yes" + opt_link="true" unset opt_bind opt_union ;; union) - opt_union="yes" + opt_union="true" unset opt_bind opt_link ;; esac |