mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 18:27:40 +00:00
Fix apt-get thinking it's interractive
This commit is contained in:
parent
f3d5aa0bd9
commit
76b828a6a7
@ -162,7 +162,7 @@ sudo_package () {
|
||||
|
||||
if [ "$PACKAGE_MANAGER" == 'apt-get' ]; then
|
||||
# shellcheck disable=2086,2048
|
||||
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y $*
|
||||
sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y $*
|
||||
elif [ "$PACKAGE_MANAGER" == 'yum' ]; then
|
||||
# shellcheck disable=2086,2048
|
||||
sudo yum install -y $*
|
||||
|
Loading…
Reference in New Issue
Block a user