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 apt-get update
EXIT_CODE=0 # We install `git-core` as some tooling expect `/usr/bin/git`
grep "Debian GNU/Linux 9" /etc/issue || EXIT_CODE=$? # 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 then
apt-get install -y \ apt-get install -y \
curl wget build-essential apt-utils locales openssh-client \ curl wget build-essential apt-utils locales openssh-client \
@ -21,7 +22,7 @@ then
logrotate python-docutils pkg-config cmake nodejs \ logrotate python-docutils pkg-config cmake nodejs \
libkrb5-dev postgresql-client mysql-client unzip \ libkrb5-dev postgresql-client mysql-client unzip \
libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \ libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \
libre2-dev gettext rsync libre2-dev gettext rsync git-core
else else
apt-get install -y \ apt-get install -y \
curl wget build-essential apt-utils locales openssh-client \ curl wget build-essential apt-utils locales openssh-client \
@ -31,7 +32,7 @@ else
logrotate python-docutils pkg-config cmake \ logrotate python-docutils pkg-config cmake \
libkrb5-dev postgresql-client unzip \ libkrb5-dev postgresql-client unzip \
libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \ libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \
libre2-dev gettext rsync libre2-dev gettext rsync git-core
fi fi
# Set UTF-8 # Set UTF-8