diff options
author | ramon <ramongomez@us.es> | 2017-03-02 11:06:23 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2017-03-02 11:06:23 +0000 |
commit | 103bc8272567329aa76d4d0a13ffa521e30a6bdf (patch) | |
tree | 3d7d20e3c7e164d471e75c11d310b2c4323f1cc9 /installer/opengnsys_update.sh | |
parent | 8601c6254afa64696bae53f6023c85f21c937e54 (diff) |
#718: Instalador y actualizador configuran tipo MIME para que descargar paquetes macOS como binarios.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5217 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/opengnsys_update.sh')
-rwxr-xr-x | installer/opengnsys_update.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh index d95d1bcc..fef3a1d4 100755 --- a/installer/opengnsys_update.sh +++ b/installer/opengnsys_update.sh @@ -460,7 +460,8 @@ function apacheConfiguration () echoAndLog "${FUNCNAME}(): Configuring Apache modules." sed -i '/rewrite/s/^#//' $APACHECFGDIR/*.conf fi - + # Definir ficheros .pkg como binarios para descargar paquetes macOS. + sed -i '/pkg/! s/octet-stream\(.*\)/octet-stream\1 pkg/' /etc/mime-types # Actualizar configuraciĆ³n para acceso a API REST # (solo actualizaciones de 1.0.x a 1.1.x). for config in $APACHECFGDIR/{,sites-available/}opengnsys.conf ]; do |