fix: ensure lsb_release is available on debian systems

This commit is contained in:
Jose Diaz-Gonzalez
2025-09-12 16:19:45 -04:00
committed by GitHub
parent 4637b95a1b
commit 0fd4f24f1e

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