💥 scripts(install): fix script only checks directories integrity
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ function Apply_wallpapers() {
|
||||
}
|
||||
|
||||
for dir in ${config_dirs[@]}; do
|
||||
if ! [[ -d ./$dir ]]; then
|
||||
if [[ ! -d "./$dir" ]] || [[ ! -f "./$dir" ]]; then
|
||||
Send_log error "$dir is in fault, or you didn't run this script in its directory!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user