mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 23:47:07 -05:00
Update install-release.sh
This commit is contained in:
parent
de163ba487
commit
266042a250
@ -289,7 +289,7 @@ remove(){
|
|||||||
rm -rf "/usr/bin/v2ray" "/etc/systemd/system/v2ray.service"
|
rm -rf "/usr/bin/v2ray" "/etc/systemd/system/v2ray.service"
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
colorEcho ${RED} "Failed to remove V2Ray."
|
colorEcho ${RED} "Failed to remove V2Ray."
|
||||||
return
|
return 0
|
||||||
else
|
else
|
||||||
colorEcho ${GREEN} "Removed V2Ray successfully."
|
colorEcho ${GREEN} "Removed V2Ray successfully."
|
||||||
colorEcho ${GREEN} "If necessary, please remove configuration file and log file manually."
|
colorEcho ${GREEN} "If necessary, please remove configuration file and log file manually."
|
||||||
@ -303,7 +303,7 @@ remove(){
|
|||||||
rm -rf "/usr/bin/v2ray" "/lib/systemd/system/v2ray.service"
|
rm -rf "/usr/bin/v2ray" "/lib/systemd/system/v2ray.service"
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
colorEcho ${RED} "Failed to remove V2Ray."
|
colorEcho ${RED} "Failed to remove V2Ray."
|
||||||
return
|
return 0
|
||||||
else
|
else
|
||||||
colorEcho ${GREEN} "Removed V2Ray successfully."
|
colorEcho ${GREEN} "Removed V2Ray successfully."
|
||||||
colorEcho ${GREEN} "If necessary, please remove configuration file and log file manually."
|
colorEcho ${GREEN} "If necessary, please remove configuration file and log file manually."
|
||||||
@ -316,7 +316,7 @@ remove(){
|
|||||||
rm -rf "/usr/bin/v2ray" "/etc/init.d/v2ray"
|
rm -rf "/usr/bin/v2ray" "/etc/init.d/v2ray"
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
colorEcho ${RED} "Failed to remove V2Ray."
|
colorEcho ${RED} "Failed to remove V2Ray."
|
||||||
return
|
return 0
|
||||||
else
|
else
|
||||||
colorEcho ${GREEN} "Removed V2Ray successfully."
|
colorEcho ${GREEN} "Removed V2Ray successfully."
|
||||||
colorEcho ${GREEN} "If necessary, please remove configuration file and log file manually."
|
colorEcho ${GREEN} "If necessary, please remove configuration file and log file manually."
|
||||||
|
Loading…
Reference in New Issue
Block a user