tests: avoid apt-get asking for user input

apt needs to be called with `-y` to avoid asking for user input,
and thus blocking the script execution when ran non-interactively.
This commit is contained in:
Matteo Croce authored and Luca Boccassi committed 2025-07-16 02:05:41 +01:00
1 parent 1a324fb05c
commit 2e354ac7da
1 file changed
+1 -1
+1 -1
View File
@@ -24,7 +24,7 @@ case "$1" in
pacman --upgrade --needed --noconfirm /work/build/*.pkg.tar
;;
debian|ubuntu)
apt-get install /work/build/*.deb
DEBIAN_FRONTEND=noninteractive apt-get -y install /work/build/*.deb
;;
opensuse*)
zypper --non-interactive install --allow-unsigned-rpm /work/build/*.rpm