Merge branch 'master' of github.com:teddysun/across

This commit is contained in:
Teddysun 2019-01-13 23:40:42 +09:00
commit 53994d84ca
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

2
kms.sh
View File

@ -147,7 +147,7 @@ install_main() {
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 -y update
apt-get install gcc git make libnss3 curl libcurl3-nss apt-get install -y gcc git make libnss3 curl libcurl3-nss
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."
exit 1 exit 1