Remove install apt-get dangerous options

Apt should fail fast (and report) instead of
forcing a broken installation.

The version check is also not required anymore as
most distribution now provide an apt version > 1.1.
This commit is contained in:
jo 2021-08-16 23:49:15 +02:00
parent d55e03a220
commit 8ce437828e
2 changed files with 6 additions and 14 deletions

View file

@ -1,5 +1,5 @@
#!/bin/bash
DEBIAN_FRONTEND=noninteractive apt-get -y -m --force-yes install alsa-utils
DEBIAN_FRONTEND=noninteractive apt-get -y install alsa-utils
usermod -a -G audio vagrant
usermod -a -G audio www-data