mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 12:07:45 +01:00
fix: ensure lsb_release is available on debian systems
This commit is contained in:
committed by
GitHub
parent
4637b95a1b
commit
0fd4f24f1e
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user