mirror of
https://github.com/teddysun/across.git
synced 2025-10-08 22:05:34 +08:00
1
kms.sh
1
kms.sh
@@ -146,6 +146,7 @@ install_main() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
elif [[ x"${release}" == x"debian" || x"${release}" == x"ubuntu" ]]; then
|
elif [[ x"${release}" == x"debian" || x"${release}" == x"ubuntu" ]]; then
|
||||||
|
apt-get -y update
|
||||||
apt-get install gcc git make
|
apt-get install gcc git make
|
||||||
if ! wget --no-check-certificate -O /etc/init.d/kms https://raw.githubusercontent.com/teddysun/across/master/kms-debian; then
|
if ! wget --no-check-certificate -O /etc/init.d/kms https://raw.githubusercontent.com/teddysun/across/master/kms-debian; then
|
||||||
echo -e "[${red}Error:${plain}] Failed to download KMS Server script."
|
echo -e "[${red}Error:${plain}] Failed to download KMS Server script."
|
||||||
|
Reference in New Issue
Block a user