We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c9622d commit 3750157Copy full SHA for 3750157
sing-box.sh
@@ -1,6 +1,6 @@
1
#!/bin/bash
2
3
args=$@
4
-is_sh_ver=v1.13
+is_sh_ver=v1.14
5
6
. /etc/sing-box/sh/src/init.sh
src/core.sh
@@ -680,7 +680,7 @@ uninstall() {
680
manage stop &>/dev/null
681
manage disable &>/dev/null
682
rm -rf $is_core_dir $is_log_dir $is_sh_bin ${is_sh_bin/$is_core/sb} /lib/systemd/system/$is_core.service
683
- sed -i "/alias $is_core=/d" /root/.bashrc
+ sed -i "/$is_core/d" /root/.bashrc
684
# uninstall caddy; 2 is ask result
685
if [[ $REPLY == '2' ]]; then
686
manage stop caddy &>/dev/null
0 commit comments