summarylogtreecommitdiffstats
path: root/wd
diff options
context:
space:
mode:
authorBen2022-03-29 16:28:49 +0800
committerBen2022-03-29 16:29:24 +0800
commit9519d2cf7a9ff335a53b246d30000ced032c912c (patch)
tree1c572878d618347fe349b999bc66e5ffe69812ff /wd
parentc7776c412779bce98151731c3cf9967f25772dd5 (diff)
downloadaur-9519d2cf7a9ff335a53b246d30000ced032c912c.tar.gz
Use https. Add pkgver()
Diffstat (limited to 'wd')
-rwxr-xr-xwd7
1 files changed, 3 insertions, 4 deletions
diff --git a/wd b/wd
index 19e3de55ffae..67df5df44614 100755
--- a/wd
+++ b/wd
@@ -1,10 +1,9 @@
#!/bin/bash
WDDIR="$HOME/.local/share/wudao-dict"
-if [ ! -d "$WDDIR" ]
-then
- cp -r /opt/wudao-dict "$WDDIR"
- mkdir "$WDDIR/usr"
+if [ ! -d "$WDDIR" ];then
+ cp -r /opt/wudao-dict "$WDDIR"
+ mkdir "$WDDIR/usr"
fi
save_path=$PWD