certbot: Explicitly apt-get update before installing certbot.

There is no guarantee that the apt data is up-to-date, unless we
explicitly update.

Fixes: zulip/docker-zulip#275
This commit is contained in:
Alex Vandiver 2020-09-21 13:33:39 -07:00 committed by Tim Abbott
parent e2dcdc2758
commit 4b3121db0b
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ set -x
case " $os_id $os_id_like " in case " $os_id $os_id_like " in
*' debian '*) *' debian '*)
apt-get update
apt-get install -y certbot apt-get install -y certbot
;; ;;
*' rhel '*) *' rhel '*)