From 1856f16c9584b3bfd37ab5b6d569c2c8d3a99822 Mon Sep 17 00:00:00 2001 From: Jakob Helmecke Date: Fri, 5 Apr 2019 13:20:11 +0200 Subject: [PATCH] Update scripts to remove error on apt-get install --- bin/clean-install | 2 +- bin/clean-uninstall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/clean-install b/bin/clean-install index 632bd74..87f729a 100755 --- a/bin/clean-install +++ b/bin/clean-install @@ -8,7 +8,7 @@ if [ $# = 0 ]; then fi apt-get update -apt-get install -y --no-install-recommends $@ +DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends "$@" apt-get clean -y rm -rf \ /var/cache/debconf/* \ diff --git a/bin/clean-uninstall b/bin/clean-uninstall index ec044c7..de8ac6a 100755 --- a/bin/clean-uninstall +++ b/bin/clean-uninstall @@ -7,7 +7,7 @@ if [ $# = 0 ]; then exit 1 fi -apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $@ +DEBIAN_FRONTEND=noninteractive apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false "$@" apt-get clean -y rm -rf \ /var/cache/debconf/* \