From df5a762b471d0841df54b297424f299c2bb364e5 Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Fri, 18 Mar 2022 19:50:49 +0200 Subject: [PATCH] Whoops, semicolons --- common/boop.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/boop.sh b/common/boop.sh index 0826e28..1e54c46 100755 --- a/common/boop.sh +++ b/common/boop.sh @@ -9,8 +9,8 @@ remote="https://boop.icu" sound="$HOME/Projects/local-bin/sounds/success.ogg" # Make sure necessary applications are installed -if [[ ! -n "$(which xsel)" ]]; then; echo "Please install xsel"; exit; fi -if [[ ! -n "$(which curl)" ]]; then; echo "Please install curl"; exit; fi +if [[ ! -n "$(which xsel)" ]]; then echo "Please install xsel"; exit; fi +if [[ ! -n "$(which curl)" ]]; then echo "Please install curl"; exit; fi url=$(curl -F"file=@$1" $remote) echo "$url" | tr -d '\n' | xsel -ib -l /tmp/xsel.log