fix: ensure lsb_release is available on debian systems
This commit is contained in:
1 parent
4637b95a1b
commit
0fd4f24f1e
1 file changed
+4
@@ -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