From 5edef91617012143b46a518219187f4dd64dd680 Mon Sep 17 00:00:00 2001 From: loyess Date: Sat, 11 Apr 2020 23:38:45 +0800 Subject: [PATCH] Fix bug of ss-rust --- tools/shadowsocks_install.sh | 4 ++-- utils/uninstall.sh | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/shadowsocks_install.sh b/tools/shadowsocks_install.sh index 343e3a6..05ae763 100644 --- a/tools/shadowsocks_install.sh +++ b/tools/shadowsocks_install.sh @@ -26,8 +26,8 @@ install_shadowsocks_libev(){ install_shadowsocks_rust(){ cd ${CUR_DIR} tar xf ${shadowsocks_rust_file}.tar.xz - chmod +x sstunnel sslocal ssserver ssurl ssmanager ssredir - mv sstunnel sslocal ssserver ssurl ssmanager ssredir ${SHADOWSOCKS_RUST_INSTALL_PATH} + chmod +x sslocal ssserver ssurl ssmanager + mv sslocal ssserver ssurl ssmanager ${SHADOWSOCKS_RUST_INSTALL_PATH} if [ $? -eq 0 ]; then chmod +x ${SHADOWSOCKS_RUST_INIT} local service_name=$(basename ${SHADOWSOCKS_RUST_INIT}) diff --git a/utils/uninstall.sh b/utils/uninstall.sh index 8867fc0..0bab506 100644 --- a/utils/uninstall.sh +++ b/utils/uninstall.sh @@ -62,10 +62,8 @@ shadowsocks_uninstall(){ # uninstall ss-rust rm -f /usr/local/bin/ssserver rm -f /usr/local/bin/sslocal - rm -f /usr/local/bin/sstunnel rm -f /usr/local/bin/ssurl rm -f /usr/local/bin/ssmanager - rm -f /usr/local/bin/ssredir rm -f ${SHADOWSOCKS_RUST_INIT} # uninstall go-ss2