From 839f7db792ef4e2fd75857729de1a604ff075dd8 Mon Sep 17 00:00:00 2001 From: Owen Young Date: Mon, 19 Sep 2022 02:36:41 +0800 Subject: [PATCH] fix clash multiple soft link issue --- root/clash/files/start_clash_debian.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/clash/files/start_clash_debian.sh b/root/clash/files/start_clash_debian.sh index 24917e5..f3858ed 100755 --- a/root/clash/files/start_clash_debian.sh +++ b/root/clash/files/start_clash_debian.sh @@ -24,10 +24,10 @@ if [ "$(id -u)" != "0" ]; then fi # copy configs to /etc/opt/clash -sudo mkdir -p /etc/opt/clash +sudo mkdir -p /etc/opt/clash sudo ln -sf /home/green/dotfiles/private/clash/files/config_linux.yaml /etc/opt/clash/config_linux.yaml -sudo ln -sf /home/green/dotfiles/private/clash/files/ruleset /etc/opt/clash/ruleset +sudo ln -snf /home/green/dotfiles/private/clash/files/ruleset /etc/opt/clash/ruleset # check if bak exists