From b795b58fc171e4fc02bcc66d2e61ec1908de0e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Pal=C3=A9ologue?= Date: Tue, 14 Nov 2023 11:42:10 +0000 Subject: [PATCH] Fix build on GitHub Actions --- install_with_auto_mode.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install_with_auto_mode.sh b/install_with_auto_mode.sh index 3e5bf21..d691a32 100755 --- a/install_with_auto_mode.sh +++ b/install_with_auto_mode.sh @@ -9,6 +9,10 @@ if [ -n "$DEBIAN_FRONTEND" ]; then INSTALL_MODE_FLAG=("--mode" "text") fi fi +# For GitHub Actions this works better +if [ -n "$CI" ] && [ "$CI" = 1 ]; then + INSTALL_MODE_FLAG=("--mode" "unattended") +fi # Unless they specifically agree to the license. if [ -n "$I_AGREE_TO_NAO_MESHES_LICENSE" ] && [ "$I_AGREE_TO_NAO_MESHES_LICENSE" = 1 ]; then