Modify the order of output content
parent
f30b149b6d
commit
45f823dd06
|
@ -526,16 +526,16 @@ main() {
|
||||||
fi
|
fi
|
||||||
rm -r "$TMP_DIRECTORY"
|
rm -r "$TMP_DIRECTORY"
|
||||||
echo "removed: $TMP_DIRECTORY"
|
echo "removed: $TMP_DIRECTORY"
|
||||||
|
if [[ "$LOCAL_INSTALL" -eq '1' ]]; then
|
||||||
|
get_version
|
||||||
|
fi
|
||||||
|
echo "info: V2Ray $RELEASE_VERSION is installed."
|
||||||
echo "You may need to execute a command to remove dependent software: $PACKAGE_MANAGEMENT_REMOVE curl unzip"
|
echo "You may need to execute a command to remove dependent software: $PACKAGE_MANAGEMENT_REMOVE curl unzip"
|
||||||
if [[ "$V2RAY_RUNNING" -eq '1' ]]; then
|
if [[ "$V2RAY_RUNNING" -eq '1' ]]; then
|
||||||
start_v2ray
|
start_v2ray
|
||||||
else
|
else
|
||||||
echo 'Please execute the command: systemctl enable v2ray; systemctl start v2ray'
|
echo 'Please execute the command: systemctl enable v2ray; systemctl start v2ray'
|
||||||
fi
|
fi
|
||||||
if [[ "$LOCAL_INSTALL" -eq '1' ]]; then
|
|
||||||
get_version
|
|
||||||
fi
|
|
||||||
echo "info: V2Ray $RELEASE_VERSION is installed."
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
Loading…
Reference in New Issue