Browse Source

Fixed script bug

Added missing -y flag for apt-get command to make the script fully automated.
Josh Yu 6 years ago
parent
commit
57ba799816
1 changed files with 1 additions and 1 deletions
  1. 1 1
      kms.sh

+ 1 - 1
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