diff options
author | nachoparker <nacho@ownyourbits.com> | 2019-09-29 01:45:37 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2019-09-29 01:45:43 +0300 |
commit | 46b2187980c49666c0108048b48289bf2c1dce82 (patch) | |
tree | 2f368164f0adb6916b0f25b87f9e540f413aecf5 /etc | |
parent | f885861ada8fac92bf8a74df18fe2f6938a1c054 (diff) |
fix apt stuck in interactive conf file dialogv1.16.9
Signed-off-by: nachoparker <nacho@ownyourbits.com>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/library.sh | 6 |
1 files changed, 6 insertions, 0 deletions
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 |