Update liquidprompt

This commit is contained in:
Bensuperpc 2025-02-09 19:43:24 +01:00
parent 1bdbb99cf7
commit 0270acd1f6
2 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,8 @@ ARG CMAKE_VERSION=3.31.5
ARG NINJA_VERSION=1.12.1
ARG FLATCC_VERSION=0.6.1
ARG LIQUIDPROMT_VERSION=v1.12.0
ARG OPENSSL_VERSION=openssl-1.1.1w
ARG OPENSSL_HASH=cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8

View File

@ -7,12 +7,17 @@ if ! command -v git &> /dev/null; then
exit 1
fi
if [[ -z "${LIQUIDPROMT_VERSION}" ]]; then
echo >&2 'error: LIQUIDPROMT_VERSION env. variable must be set to a non-empty value'
exit 1
fi
cd /usr/share
# Remove liquidprompt if exists
rm -rf liquidprompt
git clone "https://github.com/nojhan/liquidprompt.git" -b v_1.11
git clone "https://github.com/nojhan/liquidprompt.git" --depth 1 -b "${LIQUIDPROMT_VERSION}" liquidprompt
cat << EOF >> /root/.bashrc