diff --git a/e/divers-el/divers-el.SlackBuild b/e/divers-el/divers-el.SlackBuild index 879f6bc3..07715687 100755 --- a/e/divers-el/divers-el.SlackBuild +++ b/e/divers-el/divers-el.SlackBuild @@ -31,7 +31,7 @@ mkdir -p $CWD/els URL=$1 FILENAME=$(echo "$URL" | grep -o -e "[/=][A-Za-z0-9+-]*\.el" | tr -d '=' | tr -d '/') wget --no-check-certificate -T 10 -t 3 -c "$URL" -O "$FILENAME.new" - [ "$(cat $FILENAME.new | wc -c)" > 0 ] && mv "$FILENAME.new" "$FILENAME" + [[ "$(cat $FILENAME.new | wc -c)" > 0 ]] && mv "$FILENAME.new" "$FILENAME" [ -e "$FILENAME.new" ] && rm "$FILENAME.new" }