更新 proxy-openresty.sh
This commit is contained in:
1 parent
d287cc7d06
commit
c6bbd29a66
1 file changed
+8
-3
+8
-3
@@ -237,7 +237,12 @@ chmod +x /usr/local/bin/proxy-update || true
|
||||
/usr/local/bin/proxy-update || true
|
||||
crontab -l 2>/dev/null; echo "*/15 * * * * /usr/local/bin/proxy-update" | crontab -
|
||||
|
||||
echo "安装warp"
|
||||
curl -fL --retry 5 -o /usr/bin/warp "https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh"
|
||||
chmod +x /usr/bin/warp
|
||||
if [ ! -f /usr/bin/warp ]; then
|
||||
echo "安装 warp"
|
||||
curl -fL --retry 5 -o /usr/bin/warp "https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh"
|
||||
chmod +x /usr/bin/warp
|
||||
else
|
||||
echo "warp 已存在,跳过安装"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user