mirror of
https://github.com/233boy/sing-box.git
synced 2026-05-03 06:14:41 +08:00
fix del alias
This commit is contained in:
@@ -680,7 +680,7 @@ uninstall() {
|
||||
manage stop &>/dev/null
|
||||
manage disable &>/dev/null
|
||||
rm -rf $is_core_dir $is_log_dir $is_sh_bin ${is_sh_bin/$is_core/sb} /lib/systemd/system/$is_core.service
|
||||
sed -i "/alias $is_core=/d" /root/.bashrc
|
||||
sed -i "/$is_core/d" /root/.bashrc
|
||||
# uninstall caddy; 2 is ask result
|
||||
if [[ $REPLY == '2' ]]; then
|
||||
manage stop caddy &>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user