Commit d4d2fe4b authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

slapos_web_deploy: support Ubuntu24.04

This is a fixup of 3194cc75.
parent 5aaa1fba
Pipeline #37705 failed with stage
in 0 seconds
......@@ -46,8 +46,8 @@ if [[ ! ${DISTRO} =~ (stretch|buster|bullseye|bookworm|xenial|bionic|focal|jammy
fi
fi
# Starting from Debian 12, we need this variable to install eggs with pip at system level
if [[ "$os_VENDOR" =~ (Debian) && "$os_RELEASE" > 11 ]]; then
# Starting from Debian 12 and Ubuntu 24, we need this variable to install eggs with pip at system level
if [[ "$os_VENDOR" =~ (Debian) && "$os_RELEASE" > 11 ]] || [[ "$os_VENDOR" =~ (Ubuntu) && "$os_RELEASE" > 23 ]]; then
export PIP_BREAK_SYSTEM_PACKAGES=1
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment