From 57ba7998167b5456a419fc13380b5aa5692206f8 Mon Sep 17 00:00:00 2001 From: Josh Yu Date: Mon, 24 Dec 2018 22:43:45 -0800 Subject: [PATCH] Fixed script bug Added missing -y flag for apt-get command to make the script fully automated. --- kms.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kms.sh b/kms.sh index f036ead..66f9999 100644 --- a/kms.sh +++ b/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