aboutsummaryrefslogtreecommitdiffstats
path: root/download.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 11:08:30 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-02 11:08:30 -0500
commit315ce2397efab99a8a15cd2bb73367b00f178418 (patch)
treed9798c354440ce542c2a9c5e1b93024ee56df99e /download.sh
parente8c0f5a1a0d7ccee510fa59e577cccd46d68e3f8 (diff)
Use if [[ ... ]] instead of [ ... ] and change retval check in setupdisk when checking exit code when creating partition.
Diffstat (limited to 'download.sh')
-rw-r--r--download.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/download.sh b/download.sh
index d210b1e..af1dd08 100644
--- a/download.sh
+++ b/download.sh
@@ -9,7 +9,7 @@ cat packages.csv patches.csv | while read -r line; do
MD5SUM="$(echo "$line" | cut -d\, -f4)"
CACHEFILE="$(basename "${URL}")"
- if [ ! -f "${CACHEFILE}" ]; then
+ if [[ ! -f "${CACHEFILE}" ]]; then
printf "%b" "${PRP}Downloading ${YLW}${CACHEFILE}${RST}... "