Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2019-09-29 01:45:37 +0300
committernachoparker <nacho@ownyourbits.com>2019-09-29 01:45:43 +0300
commit46b2187980c49666c0108048b48289bf2c1dce82 (patch)
tree2f368164f0adb6916b0f25b87f9e540f413aecf5 /etc
parentf885861ada8fac92bf8a74df18fe2f6938a1c054 (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.sh6
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