Fix podman-compose check and PHPCBF.

This commit is contained in:
Buster Neece 2023-02-10 14:43:46 -06:00
parent 054b6e6e0d
commit 1a6d79eb9d
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E
2 changed files with 6 additions and 2 deletions

View File

@ -421,6 +421,8 @@ install() {
echo "Podman was detected and will be used instead of Docker..."
if [[ $(command -v podman-compose) ]]; then
echo "Podman-compose is installed!"
else
echo "Podman mode is active, but podman-compose is not found."
echo "Install it by following the instructions on this page:"
echo "https://github.com/containers/podman-compose"

View File

@ -360,8 +360,10 @@ final class InstallCommand extends Command
}
// Remove web updater if disabled or in Podman mode.
if (!$azuracastEnv->getAsBool(Environment::ENABLE_WEB_UPDATER, true)
|| $env->getAsBool('AZURACAST_PODMAN_MODE', false)) {
if (
!$azuracastEnv->getAsBool(Environment::ENABLE_WEB_UPDATER, true)
|| $env->getAsBool('AZURACAST_PODMAN_MODE', false)
) {
unset($yaml['services']['updater']);
}