Browse Source

Improve folder logic in CONFIG()

master
jcmdln 2 years ago
parent
commit
16d13fb026
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      gein.sh

+ 2
- 1
gein.sh View File

@@ -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