File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ _install_pre_reqs() {
5454 export DEBIAN_FRONTEND=noninteractive
5555 cmd=$1
5656 shift
57- $SUDO apt-get $cmd -qq -o=Dpkg::Use-Pty=0 $@
57+ $SUDO apt-get $cmd --yes - qq -o=Dpkg::Use-Pty=0 $@
5858 }
5959 else
6060 apt () {
@@ -78,7 +78,7 @@ _install_pre_reqs() {
7878 fi
7979
8080 if test -f /etc/debian_version; then
81- apt update --yes
81+ apt update
8282
8383 # minimal but required or networking doesn’t work
8484 # https://packages.debian.org/buster/all/netbase/filelist
@@ -92,13 +92,13 @@ _install_pre_reqs() {
9292
9393 case $( cat /etc/debian_version) in
9494 jessie/sid|8.* |stretch/sid|9.* )
95- apt install --yes libc-dev libstdc++-4.8-dev libgcc-4.7-dev $A $B $C ;;
95+ apt install libc-dev libstdc++-4.8-dev libgcc-4.7-dev $A $B $C ;;
9696 buster/sid|10.* )
97- apt install --yes libc-dev libstdc++-8-dev libgcc-8-dev $A $B $C ;;
97+ apt install libc-dev libstdc++-8-dev libgcc-8-dev $A $B $C ;;
9898 bullseye/sid|11.* )
99- apt install --yes libc-dev libstdc++-10-dev libgcc-9-dev $A $B $C ;;
99+ apt install libc-dev libstdc++-10-dev libgcc-9-dev $A $B $C ;;
100100 bookworm/sid|12.* |* )
101- apt install --yes libc-dev libstdc++-11-dev libgcc-11-dev $A $B $C ;;
101+ apt install libc-dev libstdc++-11-dev libgcc-11-dev $A $B $C ;;
102102 esac
103103 elif test -f /etc/fedora-release; then
104104 $SUDO yum --assumeyes install libatomic
You can’t perform that action at this time.
0 commit comments