diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2018-11-06 14:10:56 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2018-11-06 14:10:56 +0100 |
commit | 97b65790e6db58cf1eac9ac891d58d93c66b8f22 (patch) | |
tree | 42dea79eeaa8aa5216f3b9d680ac5b5e8a157678 /installer/opengnsys_update.sh | |
parent | 991ad531ec9aa8ebd7dfbc8984209ec5cfa58ca4 (diff) |
Close #869: Updating package list to install on CentOS 7.x
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-x | installer/opengnsys_update.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 54af0340..7943d4e2 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -385,7 +385,7 @@ function installDependencies() fi if [ "$OSDISTRIB" == "centos" ]; then PHP7VERSION=$(yum list -q php7\* 2>/dev/null | awk -F. '/^php/ {print $1; exit;}') - PHPFPMSERV="${PHP7VERSION}-fpm" + PHPFPMSERV="${PHP7VERSION}-${PHPFPMSERV}" PHP5PKGS=( $(yum list installed | awk '$1~/^php/ && $2~/^5\./ {sub(/\..*$/, "", $1); print $1}') ) if [ -n "$PHP5PKGS" ]; then $DELETEPKGS ${PHP5PKGS[@]} |