Added fixes for hestiacp for rpm installer

This commit is contained in:
Alexey Berezhok
2024-05-01 19:37:06 +03:00
parent d7ea7da070
commit d221337bbd
6 changed files with 108 additions and 11 deletions

View File

@@ -147,7 +147,11 @@ prepare_web_backend() {
# Delete web backend
delete_web_backend() {
if [ -f "/etc/redhat-release" ]; then
find -L /etc/opt/remi/ -name "$backend_type.conf" -exec rm -f {} \;
else
find -L /etc/php/ -type f -name "$backend_type.conf" -exec rm -f {} \;
fi
}
# Prepare web aliases