diff options
author | ramon <ramongomez@us.es> | 2010-10-26 14:37:11 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2010-10-26 14:37:11 +0000 |
commit | fbd9bccdad5a4fcd243ed7d471508f11826a3815 (patch) | |
tree | 9fffdfcee79e05f8bee0d45368e8bcca169e7382 /installer | |
parent | 179ccd201736774be72360633850aec7cc0d343b (diff) |
Corrección instalador para copiar ficheros interfaz web. Close #240
git-svn-id: https://opengnsys.es/svn/trunk@1327 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer')
-rwxr-xr-x | installer/opengnsys_installer.sh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index 85d7c654..b6a00661 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -902,20 +902,15 @@ function servicesCompilation () function InterfaceAdm () { local hayErrores=0 - local pathIntAdm=$INSTALL_TARGET/client/interfaceAdm - # Crear carpeta Interface - mkdir $pathIntAdm - # Copiar carpeta + # Crear carpeta y copiar Interface echoAndLog "${FUNCNAME}(): Copying Administration Interface Folder" - pushd $WORKDIR/opengnsys/admin/Interface - chmod +x * - mv * /$pathIntAdm + cp -ar $WORKDIR/opengnsys/admin/Interface $INSTALL_TARGET/client/interfaceAdm + chmod -R +x $INSTALL_TARGET/client/interfaceAdm if [ $? -ne 0 ]; then echoAndLog "${FUNCNAME}(): error while copying Administration Interface Folder" hayErrores=1 fi - popd return $hayErrores } |