|
|
|
@ -1600,7 +1600,6 @@ proxy(){ |
|
|
|
else |
|
|
|
else |
|
|
|
{ wget --no-check-certificate $CDN https://github.com/fscarmen/warp/raw/main/Client/Client_${SYSTEM}_${VERSION_ID}.deb; }& |
|
|
|
{ wget --no-check-certificate $CDN https://github.com/fscarmen/warp/raw/main/Client/Client_${SYSTEM}_${VERSION_ID}.deb; }& |
|
|
|
[[ $SYSTEM = Debian && ! $(apt list 2>/dev/null | grep apt-transport-https) =~ installed ]] && ${PACKAGE_INSTALL[int]} apt-transport-https |
|
|
|
[[ $SYSTEM = Debian && ! $(apt list 2>/dev/null | grep apt-transport-https) =~ installed ]] && ${PACKAGE_INSTALL[int]} apt-transport-https |
|
|
|
# 如为 Ubuntu 22.04(jammy) 由于官方库暂未支持,故欺骗为20.04(focal) |
|
|
|
|
|
|
|
wait |
|
|
|
wait |
|
|
|
dpkg -i Client_${SYSTEM}_${VERSION_ID}.deb >/dev/null 2>&1 |
|
|
|
dpkg -i Client_${SYSTEM}_${VERSION_ID}.deb >/dev/null 2>&1 |
|
|
|
${PACKAGE_INSTALL[int]} -f |
|
|
|
${PACKAGE_INSTALL[int]} -f |
|
|
|
|