mirror of
https://github.com/systemd/systemd.git
synced 2025-09-10 22:52:49 +02:00
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:
committed by
Luca Boccassi
parent
1a324fb05c
commit
2e354ac7da
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user