diff options
Diffstat (limited to 'src/git/install.sh')
-rwxr-xr-x | src/git/install.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/git/install.sh b/src/git/install.sh index 153b4e1..7ffa01e 100755 --- a/src/git/install.sh +++ b/src/git/install.sh @@ -147,11 +147,13 @@ if [ "$(echo "${GIT_VERSION}" | grep -o '\.' | wc -l)" != "2" ]; then fi fi +check_packages libpcre2-posix2 libpcre2-dev + echo "Downloading source for ${GIT_VERSION}..." curl -sL https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz | tar -xzC /tmp 2>&1 echo "Building..." cd /tmp/git-${GIT_VERSION} -make -s prefix=/usr/local all && make -s prefix=/usr/local install 2>&1 +make -s USE_LIBPCRE=YesPlease prefix=/usr/local all && make -s USE_LIBPCRE=YesPlease prefix=/usr/local install 2>&1 rm -rf /tmp/git-${GIT_VERSION} rm -rf /var/lib/apt/lists/* echo "Done!" |