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
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-06-18 17:50:17 +0300
committernachoparker <nacho@ownyourbits.com>2018-06-18 18:11:09 +0300
commit9210fb26ef37927486df24649e97e43a49b7b2ea (patch)
treee1b689c64422e8b0a97d4ee5a801419270b889de /update.sh
parent5aa071e0699e7723231917e06a9a302cbb65affc (diff)
letsencrypt: install from debian packagev0.57.4
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/update.sh b/update.sh
index cfc4fe8a..eaea62b2 100755
--- a/update.sh
+++ b/update.sh
@@ -219,6 +219,14 @@ EOF
activate_script nc-autoupdate-nc.sh
cd - &>/dev/null
}
+
+ # change letsencrypt from git to package based
+ [[ -f /usr/bin/letsencrypt ]] || {
+ echo "updating letsencrypt..."
+ apt-get update
+ apt-get install -y --no-install-recommends letsencrypt
+ }
+
} # end - only live updates
exit 0