diff options
author | ramon <ramongomez@us.es> | 2017-06-29 11:14:10 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-06-29 11:14:10 +0000 |
commit | d5cbfa8dadf2bdb582b4782cb51b9cd869f7080d (patch) | |
tree | 5bc1f147f79f30758eba7d98b1070a4eb49ec105 /installer/opengnsys_update.sh | |
parent | df5a6114e0222ab0a964ec3e9bd9afd86836bba7 (diff) |
#730: Sustituir {{{wget}}} por {{{curl}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5395 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-x | installer/opengnsys_update.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index 82a84b75..3f224259 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -113,7 +113,7 @@ OSVERSION="${OSVERSION%%.*}" # Configuración según la distribución de Linux. case "$OSDISTRIB" in ubuntu|debian|linuxmint) - DEPENDENCIES=( php5-ldap xinetd rsync btrfs-tools procps arp-scan realpath php5-curl gettext moreutils jq ) + DEPENDENCIES=( php5-ldap xinetd curl rsync btrfs-tools procps arp-scan realpath php5-curl gettext moreutils jq ) UPDATEPKGLIST="apt-get update" INSTALLPKGS="apt-get -y install --force-yes" CHECKPKG="dpkg -s \$package 2>/dev/null | grep -q \"Status: install ok\"" @@ -130,7 +130,7 @@ case "$OSDISTRIB" in INETDCFGDIR=/etc/xinetd.d ;; fedora|centos) - DEPENDENCIES=( php-ldap xinetd rsync btrfs-progs procps-ng arp-scan gettext moreutils jq ) + DEPENDENCIES=( php-ldap xinetd curl rsync btrfs-progs procps-ng arp-scan gettext moreutils jq ) # En CentOS 7 instalar arp-scan de CentOS 6. [ "$OSDISTRIB$OSVERSION" == "centos7" ] && DEPENDENCIES=( ${DEPENDENCIES[*]/arp-scan/http://dag.wieers.com/redhat/el6/en/$(arch)/dag/RPMS/arp-scan-1.9-1.el6.rf.$(arch).rpm} ) INSTALLPKGS="yum install -y" |