Merge pull request #36 from bosscoder/patch-1

Fixed script bug
This commit is contained in:
Teddysun 2018-12-25 17:29:31 +09:00 committed by GitHub
commit e4da9f44ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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