set -x \
# enable to preserve downloaded packages
&& poldek-config keep_downloads yes \
+ # disable mixed php versions
+ # remove current php flavor from exclude list
+ && PHP_VERSION=5.3 \
+ && IGNORE_PACKAGES="systemd-init *php4* *php52* *php53* *php54* *php55* *php56* *php70* *php71* *php72* *php73* *php74* *php80* *php81* *php82**" \
+ && IGNORE_PACKAGES=$(echo "$IGNORE_PACKAGES" | sed -e "s/ \*php${PHP_VERSION/./}\*//") \
+ && poldek-config ignore "$IGNORE_PACKAGES" \
# first upgrade to latest
&& poldek --up --upgrade-dist \
# install build deps