💥 fix(update_repo): not creating wallpapers dir

This commit is contained in:
João Dias
2024-11-19 17:48:22 -03:00
parent fd703f1801
commit 240525f534
+4 -1
View File
@@ -79,9 +79,12 @@ Update_local() {
fi
done
if [[ -d "$WALLPAPERS_DIR" ]]; then
if [[ -d $WALLPAPERS_DIR ]]; then
Send_log "info" "Copying wallpapers"
mkdir -p ./wallpapers
cp -rf $WALLPAPERS_DIR/* ./wallpapers
else
Send_log "warn" "Wallpapers dir could not be found in $HOME, skipping..."
fi
printf "\nDone updating local repo!\n"