summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xslock/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/slock/deploy.sh b/slock/deploy.sh
index 6ee800a..549360d 100755
--- a/slock/deploy.sh
+++ b/slock/deploy.sh
@@ -2,7 +2,7 @@
pkgver=1.5
-[ -d "~/.local/src" ]mkdir -p ~/.local/src
+[ -d "~/.local/src" ] && mkdir -p ~/.local/src
curl -o ~/.local/src/slock-$pkgver.tar.gz https://dl.suckless.org/tools/slock-$pkgver.tar.gz
tar -C ~/.local/src/ -xvf ~/local/src/slock-$pkgver.tar.gz