💥 fix(update_repo): not cleaning wallpapers dir
This commit is contained in:
+4
-1
@@ -55,6 +55,9 @@ Clean_local() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Send_log "info" "Cleaning wallpapers..."
|
||||||
|
rm -rf ./wallpapers
|
||||||
|
|
||||||
echo "Done cleaning."
|
echo "Done cleaning."
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,7 +72,7 @@ Check_existance() {
|
|||||||
Update_local() {
|
Update_local() {
|
||||||
for dotsDir in ${HYPRLAND_DOTS_DIRS[@]}; do
|
for dotsDir in ${HYPRLAND_DOTS_DIRS[@]}; do
|
||||||
if [[ -d "$HOME/.config/$dotsDir" ]]; then
|
if [[ -d "$HOME/.config/$dotsDir" ]]; then
|
||||||
echo "-> Trying to copy ${dotsDir^}..."
|
Send_log "info" "Trying to copy ${dotsDir^}..."
|
||||||
cp -r $HOME/.config/$dotsDir ./$dotsDir
|
cp -r $HOME/.config/$dotsDir ./$dotsDir
|
||||||
else
|
else
|
||||||
Send_log "warn" "Looks like the ~/.config/$dotsDir dir is in fault! Skipping it..."
|
Send_log "warn" "Looks like the ~/.config/$dotsDir dir is in fault! Skipping it..."
|
||||||
|
|||||||
Reference in New Issue
Block a user