Skip to content

Commit a1b163b

Browse files
committed
Install git before using it
1 parent cf5a3ee commit a1b163b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

install-weblate-docker

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,18 @@ usermod --append --groups docker weblate
3636
WEBLATE_HOME=~weblate
3737
WEBLATE_DOCKER="$WEBLATE_HOME/weblate"
3838

39-
# Legal stuff
40-
sudo -u weblate git clone https://github.com/WeblateOrg/wllegal.git $WEBLATE_HOME/wllegal
41-
4239
cd /tmp
4340
apt-get update
4441
apt-get install --no-install-recommends -y\
4542
fail2ban python3-pyinotify python3-systemd \
4643
rsyslog \
4744
nginx \
4845
openssh-client \
49-
python3-certbot-nginx
46+
python3-certbot-nginx \
47+
git
48+
49+
# Legal stuff
50+
sudo -u weblate git clone https://github.com/WeblateOrg/wllegal.git $WEBLATE_HOME/wllegal
5051

5152
# SSL cert
5253
if [ "$CERT" -eq 1 ] ; then

0 commit comments

Comments
 (0)