More bash script adjustments for linux

This commit is contained in:
2024-09-10 05:17:55 -04:00
parent 1afb7289ca
commit 4f296cd96d
2 changed files with 28 additions and 21 deletions

View File

@@ -102,10 +102,8 @@ update_git_repo() {
verify_path() {
local path="$1"
if [ -d "$path" ]; then
return 0
if [ ! -d "$path" ]; then
mkdir -p "$path"
echo "Created directory: $path"
fi
mkdir -p "$path"
return 1
}
}