From 46b2187980c49666c0108048b48289bf2c1dce82 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sat, 28 Sep 2019 16:45:37 -0600 Subject: fix apt stuck in interactive conf file dialog Signed-off-by: nachoparker --- etc/library.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc') diff --git a/etc/library.sh b/etc/library.sh index b6a13c69..9c53d778 100644 --- a/etc/library.sh +++ b/etc/library.sh @@ -278,6 +278,12 @@ function check_distro() return 1 } +function apt_install() +{ + apt-get update + apt-get install -y --no-install-recommends -o Dpkg::Options::=--force-confdef +} + # License # # This script is free software; you can redistribute it and/or modify it -- cgit v1.2.3