Skip to content

Commit

Permalink
Fix container-setup-script
Browse files Browse the repository at this point in the history
Signed-off-by: Petr "Stone" Hracek <[email protected]>
  • Loading branch information
phracek committed Aug 7, 2024
1 parent bec1bdd commit 4577bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 8.3/root/usr/libexec/container-setup
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ else
rm -f /opt/app-root/etc/scl_enable
fi

if head "/etc/redhat-release" | grep -q -e "^Red Hat Enterprise Linux release 8" -e "^Red Hat Enterprise Linux release 9" -e "Fedora" -e "^CentOS Stream release 9"; then
if head "/etc/redhat-release" | grep -q -e "^Red Hat Enterprise Linux release 8" -e "^Red Hat Enterprise Linux release 9" -e "Fedora" -e "^CentOS Stream release 9" -e "^CentOS Stream release 10"; then
/usr/libexec/httpd-ssl-gencerts
fi

Expand Down Expand Up @@ -54,7 +54,7 @@ else
chmod -R a+rwx "${PHP_SYSCONF_PATH}/php-fpm.d"
fi

if [ "x$PLATFORM" == "xel9" ] || [ "x$PLATFORM" == "xfedora" ]; then
if [ "x$PLATFORM" == "xel9" ] || [ "x$PLATFORM" == "xel10" ] || [ "x$PLATFORM" == "xfedora" ]; then
if [ -v PHP_FPM_RUN_DIR ]; then
mkdir -p ${PHP_FPM_RUN_DIR}
chmod -R a+rwx ${PHP_FPM_RUN_DIR}
Expand Down

0 comments on commit 4577bc1

Please sign in to comment.