Skip to content

Commit

Permalink
Install git before using it
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Sep 11, 2023
1 parent cf5a3ee commit a1b163b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions install-weblate-docker
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,18 @@ usermod --append --groups docker weblate
WEBLATE_HOME=~weblate
WEBLATE_DOCKER="$WEBLATE_HOME/weblate"

# Legal stuff
sudo -u weblate git clone https://github.com/WeblateOrg/wllegal.git $WEBLATE_HOME/wllegal

cd /tmp
apt-get update
apt-get install --no-install-recommends -y\
fail2ban python3-pyinotify python3-systemd \
rsyslog \
nginx \
openssh-client \
python3-certbot-nginx
python3-certbot-nginx \
git

# Legal stuff
sudo -u weblate git clone https://github.com/WeblateOrg/wllegal.git $WEBLATE_HOME/wllegal

# SSL cert
if [ "$CERT" -eq 1 ] ; then
Expand Down

0 comments on commit a1b163b

Please sign in to comment.