Fix typo in install.sh

This commit is contained in:
clsty 2024-03-06 13:19:35 +08:00
parent 5d28f309a5
commit 1e0ad6ca24

View file

@ -147,7 +147,7 @@ v mkdir -p "$HOME"/.{config,cache,local/{bin,share}}
# (eg. in ~/.config/hypr) won't be mixed together # (eg. in ~/.config/hypr) won't be mixed together
# For .config/* but not AGS, not Hyprland # For .config/* but not AGS, not Hyprland
for file in $(find .config/ -mindepth 1 -maxdepth 1 ! -name 'ags' ! -name 'hypr' -exec basename {} \;); do for i in $(find .config/ -mindepth 1 -maxdepth 1 ! -name 'ags' ! -name 'hypr' -exec basename {} \;); do
echo "[$0]: Found target: $i" echo "[$0]: Found target: $i"
if [ -d "$i" ];then v rsync -av --delete "$i/" "$HOME/$i/" if [ -d "$i" ];then v rsync -av --delete "$i/" "$HOME/$i/"
elif [ -f "$i" ];then v rsync -av "$i" "$HOME/$i" elif [ -f "$i" ];then v rsync -av "$i" "$HOME/$i"