aboutsummaryrefslogtreecommitdiff
path: root/src/git
diff options
context:
space:
mode:
Diffstat (limited to 'src/git')
-rw-r--r--src/git/devcontainer-feature.json2
-rwxr-xr-xsrc/git/install.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/git/devcontainer-feature.json b/src/git/devcontainer-feature.json
index bc57675..c68d69d 100644
--- a/src/git/devcontainer-feature.json
+++ b/src/git/devcontainer-feature.json
@@ -1,6 +1,6 @@
{
"id": "git",
- "version": "1.1.1",
+ "version": "1.1.2",
"name": "Git (from source)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/git",
"description": "Install an up-to-date version of Git, built from source as needed. Useful for when you want the latest and greatest features. Auto-detects latest stable version and installs needed dependencies.",
diff --git a/src/git/install.sh b/src/git/install.sh
index 2463cc9..24e08e8 100755
--- a/src/git/install.sh
+++ b/src/git/install.sh
@@ -149,9 +149,9 @@ fi
check_packages libpcre2-dev
-if [ "${VERSION_CODENAME}" = "focal" ]; then
+if [ "${VERSION_CODENAME}" = "focal" ] || [ "${VERSION_CODENAME}" = "bullseye" ]; then
check_packages libpcre2-posix2
-elif [ "${VERSION_CODENAME}" = "bionic" ]; then
+elif [ "${VERSION_CODENAME}" = "bionic" ] || [ "${VERSION_CODENAME}" = "buster" ]; then
check_packages libpcre2-posix0
else
check_packages libpcre2-posix3