forked from Shinonome/dots-hyprland
tested and ready for pull request
This commit is contained in:
+1
-1
@@ -174,7 +174,7 @@ if ! git pull; then
|
|||||||
|
|
||||||
mkdir -p ./cache
|
mkdir -p ./cache
|
||||||
temp_folder=$(mktemp -d -p ./cache)
|
temp_folder=$(mktemp -d -p ./cache)
|
||||||
git clone https://github.com/end-4/dots-hyprland/ --depth=1 "$temp_folder"
|
git clone --branch "$current_branch" https://github.com/end-4/dots-hyprland/ --depth=1 "$temp_folder"
|
||||||
# Replace the existing dotfiles with the new ones
|
# Replace the existing dotfiles with the new ones
|
||||||
for folder in "${folders[@]}"; do
|
for folder in "${folders[@]}"; do
|
||||||
find "$temp_folder/$folder" -print0 | while IFS= read -r -d '' file; do
|
find "$temp_folder/$folder" -print0 | while IFS= read -r -d '' file; do
|
||||||
|
|||||||
Reference in New Issue
Block a user