Browse Source

Improve folder logic in CONFIG()

master
jcmdln 4 years ago
parent
commit
16d13fb026
  1. 3
      gein.sh

3
gein.sh

@ -89,7 +89,8 @@ CONFIG() { @@ -89,7 +89,8 @@ CONFIG() {
"
for Folder in $ConfigFolders; do
[ -d "$Folder" ] && rm -rf "$Folder"
[ -f "$Folder" ] && rm "$Folder"
[ -d "$Folder" ] && rm -rf "$Folder"/
[ ! -d "$Folder" ] && mkdir -p "$Folder"
done

Loading…
Cancel
Save