forked from Shinonome/dots-hyprland
Fix if fi
This commit is contained in:
@@ -171,7 +171,6 @@ t="$HOME/.config/hypr/hyprland.conf"
|
|||||||
if [ -f $t ];then
|
if [ -f $t ];then
|
||||||
echo -e "\e[34m[$0]: \"$t\" already exists.\e[0m"
|
echo -e "\e[34m[$0]: \"$t\" already exists.\e[0m"
|
||||||
v cp -f .config/hypr/hyprland.conf $t.new
|
v cp -f .config/hypr/hyprland.conf $t.new
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
echo -e "\e[33m[$0]: \"$t\" does not exist yet.\e[0m"
|
echo -e "\e[33m[$0]: \"$t\" does not exist yet.\e[0m"
|
||||||
v cp .config/hypr/hyprland.conf $t
|
v cp .config/hypr/hyprland.conf $t
|
||||||
@@ -179,7 +178,6 @@ fi
|
|||||||
t="$HOME/.config/hypr/custom"
|
t="$HOME/.config/hypr/custom"
|
||||||
if [ -d $t ];then
|
if [ -d $t ];then
|
||||||
echo -e "\e[34m[$0]: \"$t\" already exists, will not do anything.\e[0m"
|
echo -e "\e[34m[$0]: \"$t\" already exists, will not do anything.\e[0m"
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
echo -e "\e[33m[$0]: \"$t\" does not exist yet.\e[0m"
|
echo -e "\e[33m[$0]: \"$t\" does not exist yet.\e[0m"
|
||||||
v rsync -av --delete .config/hypr/custom/ $t/
|
v rsync -av --delete .config/hypr/custom/ $t/
|
||||||
|
|||||||
Reference in New Issue
Block a user