]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Don't prompt for yes/no questions.
authorDavid Manouchehri <david.manouchehri@riseup.net>
Thu, 23 Sep 2021 21:03:18 +0000 (17:03 -0400)
committerDarren Tucker <dtucker@dtucker.net>
Thu, 23 Sep 2021 21:52:04 +0000 (07:52 +1000)
.github/setup_ci.sh

index c56dfc46c82cd17c012e275d09378372ba18c02a..107c049c4175acc3e6a8356b66b4bed0cc85479b 100755 (executable)
@@ -11,6 +11,7 @@ TARGETS=$@
 
 PACKAGES=""
 INSTALL_FIDO_PPA="no"
+export DEBIAN_FRONTEND=noninteractive
 
 #echo "Setting up for '$TARGETS'"
 
@@ -79,8 +80,8 @@ done
 
 if [ "yes" = "$INSTALL_FIDO_PPA" ]; then
     sudo apt update -qq
-    sudo apt install software-properties-common
-    sudo apt-add-repository ppa:yubico/stable
+    sudo apt install -qy software-properties-common
+    sudo apt-add-repository -y ppa:yubico/stable
 fi
 
 if [ "x" != "x$PACKAGES" ]; then