mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
removed unnecessary loop
This commit is contained in:
parent
e5f432534a
commit
9ad4b1687e
1 changed files with 0 additions and 15 deletions
|
|
@ -89,18 +89,3 @@ for folder in "${folders[@]}"; do
|
|||
done
|
||||
done
|
||||
|
||||
# Add the new files, because maybe the update added new files
|
||||
for folder in "${folders[@]}"; do
|
||||
# Find all files (including those in subdirectories) and copy them
|
||||
find "$folder" -type f -print0 | while IFS= read -r -d '' file; do
|
||||
if [[ ! -f "$HOME/$file" ]] && ! file_in_exclude_folders "$file"; then
|
||||
echo "Adding new file: $file"
|
||||
# Construct the destination path
|
||||
destination="$HOME/$file"
|
||||
# Copy the file
|
||||
cp -rf "$base/$file" "$destination"
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue