diff options
-rwxr-xr-x | installer/opengnsys_update.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 34ef4b18..3349bbec 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -119,6 +119,8 @@ function autoConfigure() if [ -f /etc/debian_version ]; then # DistribuciĆ³n basada en paquetes Deb. DEPENDENCIES=( curl rsync btrfs-tools procps arp-scan realpath php-curl gettext moreutils jq wakeonlan udpcast shim-signed grub-efi-amd64-signed php-fpm ) + # Paquete correcto para realpath. + [ -z "$(apt-cache pkgnames realpath)" ] && DEPENDENCIES=( ${DEPENDENCIES[@]//realpath/coreutils} ) UPDATEPKGLIST="add-apt-repository -y ppa:ondrej/php; apt-get update" INSTALLPKGS="apt-get -y install" DELETEPKGS="apt-get -y purge" |