From 2da499d839348314e12987966d19006676c46659 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Wed, 20 Dec 2017 01:26:53 +0100 Subject: [PATCH] DietPi-Software | PHP: Fix php-xsl installation https://github.com/Fourdee/DietPi/issues/1286 --- dietpi/dietpi-software | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dietpi/dietpi-software b/dietpi/dietpi-software index 9b06a5b80b..392c49a430 100644 --- a/dietpi/dietpi-software +++ b/dietpi/dietpi-software @@ -3809,7 +3809,9 @@ _EOF_ else - AGI_ERROR_CHECKED "$PHP_APT_PACKAGE_NAME"-fpm "$PHP_APT_PACKAGE_NAME"-cgi "$PHP_APT_PACKAGE_NAME"-xsl + AGI_ERROR_CHECKED "$PHP_APT_PACKAGE_NAME"-fpm "$PHP_APT_PACKAGE_NAME"-cgi + # 'php-xsl' does not exist for >= Stretch, 'php7.0-xsl' is just dummy for 'php7.0-xml': https://github.com/Fourdee/DietPi/issues/1286 + (( $DISTRO < 4 )) && AGI_ERROR_CHECKED php5-xsl fi @@ -3850,7 +3852,7 @@ _EOF_ fi - #Redis php module | >= 1 to check for existing installs (2) + #Redis php module if (( ${aSOFTWARE_INSTALL_STATE[91]} >= 1 )); then AGI_ERROR_CHECKED "$PHP_APT_PACKAGE_NAME"-redis