mirror of
https://github.com/teddysun/across.git
synced 2025-01-18 13:59:35 +08:00
Fixed script bug
Added missing -y flag for apt-get command to make the script fully automated.
This commit is contained in:
parent
354ebe77db
commit
57ba799816
2
kms.sh
2
kms.sh
@ -147,7 +147,7 @@ install_main() {
|
||||
fi
|
||||
elif [[ x"${release}" == x"debian" || x"${release}" == x"ubuntu" ]]; then
|
||||
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
|
||||
echo -e "[${red}Error:${plain}] Failed to download KMS Server script."
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user