Install git-core

This commit is contained in:
Kamil Trzciński 2021-02-03 10:56:53 +00:00 committed by Rémy Coutable
parent 3e7f7696aa
commit ba4b0253d4

View file

@ -7,10 +7,11 @@ export DEBIAN_FRONTEND=noninteractive
apt-get update
EXIT_CODE=0
grep "Debian GNU/Linux 9" /etc/issue || EXIT_CODE=$?
# We install `git-core` as some tooling expect `/usr/bin/git`
# other tools that rely on PATH ordering will pick a one in `/usr/local`
# if present
if [ $EXIT_CODE -eq 0 ]
if grep "Debian GNU/Linux 9" /etc/issue
then
apt-get install -y \
curl wget build-essential apt-utils locales openssh-client \
@ -21,7 +22,7 @@ then
logrotate python-docutils pkg-config cmake nodejs \
libkrb5-dev postgresql-client mysql-client unzip \
libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \
libre2-dev gettext rsync
libre2-dev gettext rsync git-core
else
apt-get install -y \
curl wget build-essential apt-utils locales openssh-client \
@ -31,7 +32,7 @@ else
logrotate python-docutils pkg-config cmake \
libkrb5-dev postgresql-client unzip \
libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \
libre2-dev gettext rsync
libre2-dev gettext rsync git-core
fi
# Set UTF-8