diff options
author | Archie Hilton (thytom) <archie.hilton1@gmail.com> | 2019-11-06 15:23:21 +0000 |
---|---|---|
committer | Archie Hilton (thytom) <archie.hilton1@gmail.com> | 2019-11-06 15:23:21 +0000 |
commit | 7dadc8536c7478220fab7b3da8c045224e0e360f (patch) | |
tree | 2292cefcbc3af2a0bcde0b4e80cbe9848de956df | |
parent | 7f8e943a0adc62349aa3a304872f7a689631103c (diff) |
Fixed -c
-rwxr-xr-x | dwmbar | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -50,9 +50,8 @@ print_help(){ } copy_usr_to_home(){ - [[ ! -d $CONFIG_DIR ]] && cp -r /usr/share/dwmbar $CONFIG_DIR - [[ ! -f $CONFIG_FILE ]] && cp /usr/share/dwmbar/config $CONFIG_FILE - [[ ! -d $CUSTOM_DIR ]] && mkdir $CUSTOM_DIR + mkdir -p "$CUSTOM_DIR" + cp -r "$DEFAULT_CONFIG_DIR{config}" "$CONFIG_DIR" } check_files(){ |