Update reality.sh
This commit is contained in:
+2
-2
@@ -66,11 +66,11 @@ install_singbox(){
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $SYSTEM == "CentOS" ]]; then
|
if [[ $SYSTEM == "CentOS" ]]; then
|
||||||
wget https://github.com/SagerNet/sing-box/releases/download/"$last_version"/sing-box_"$last_version"_linux_$(archAffix).rpm -O sing-box.rpm
|
wget https://github.com/SagerNet/sing-box/releases/download/"v$last_version"/sing-box_"$last_version"_linux_$(archAffix).rpm -O sing-box.rpm
|
||||||
rpm -ivh sing-box.rpm
|
rpm -ivh sing-box.rpm
|
||||||
rm -f sing-box.rpm
|
rm -f sing-box.rpm
|
||||||
else
|
else
|
||||||
wget https://github.com/SagerNet/sing-box/releases/download/"$last_version"/sing-box_"$last_version"_linux_$(archAffix).deb -O sing-box.deb
|
wget https://github.com/SagerNet/sing-box/releases/download/"v$last_version"/sing-box_"$last_version"_linux_$(archAffix).deb -O sing-box.deb
|
||||||
dpkg -i sing-box.deb
|
dpkg -i sing-box.deb
|
||||||
rm -f sing-box.deb
|
rm -f sing-box.deb
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user