diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-11-06 14:08:45 +0000 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-11-06 14:08:45 +0000 |
commit | 959305da2d6a8b32acfd8a73c84e63f820d46602 (patch) | |
tree | 220adca7326c02d64273fba68a19325de5537784 | |
parent | 23767a965b9de481342849163fc2cfe5b88562ef (diff) |
Needs work
-rwxr-xr-x | dwmbar | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -53,6 +53,11 @@ check_files(){ exit 1 fi + if [[ ! -d $CACHE_DIR ]]; then + echo "$CACHE_DIR does not exist." > /dev/stderr + exit 1 + fi + if [[ ! -f $DEFAULT_BAR_LOCATION ]]; then echo "$DEFAULT_BAR_LOCATION does not exist." > /dev/stderr exit 1 |