diff --git a/precise/base-0k/hooks/install.d/05-shyaml.sh b/precise/base-0k/hooks/install.d/05-shyaml.sh index 6116a12..84f7a28 100755 --- a/precise/base-0k/hooks/install.d/05-shyaml.sh +++ b/precise/base-0k/hooks/install.d/05-shyaml.sh @@ -7,7 +7,7 @@ set -eux case $(lsb_release -is) in Debian) case $(lsb_release -rs) in - 11) + 11|12) apt-get install -y python3-pip libyaml-dev python3-dev &1 | tail -n 1)" == "ImportError: No module named setuptools" ]; then pip install setuptools fi - pip install sact.epoch + pip install sact.epoch || + pip install sact.epoch --break-system-packages if [ "$(python -c 'import sact.epoch' 2>&1 | tail -n 1)" == "ImportError: No module named interface" ]; then echo "Error: conflicting installation of zope.interface detected. Trying workaround." (