diff options
Diffstat (limited to 'wd')
-rwxr-xr-x | wd | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |