Merge pull request #7974 from dokku/josegonzalez-patch-1

fix: ensure lsb_release is available on debian systems
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2025-09-12 17:08:10 -04:00
commit fa0c9663cf
1 file changed
+4
+4
View File
@@ -48,6 +48,10 @@ install-requirements() {
apt-get update -qq >/dev/null apt-get update -qq >/dev/null
apt-get -qq -y --no-install-recommends install gpg-agent apt-get -qq -y --no-install-recommends install gpg-agent
fi fi
if ! command -v lsb_release &>/dev/null; then
apt-get update -qq >/dev/null
apt-get -qq -y --no-install-recommends install lsb-release
fi
if [[ "$DOKKU_DISTRO_VERSION" -lt "13" ]]; then if [[ "$DOKKU_DISTRO_VERSION" -lt "13" ]]; then
if ! dpkg -l | grep -q software-properties-common; then if ! dpkg -l | grep -q software-properties-common; then
apt-get update -qq >/dev/null apt-get update -qq >/dev/null