summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authoralbertogp <albertogp@uma.es>2013-03-12 17:39:59 +0000
committeralbertogp <albertogp@uma.es>2013-03-12 17:39:59 +0000
commite979faf47b8086f533f25cb5eb64911f3054f44d (patch)
tree8b840421a09becbdd1fb02f9668ea6549a4024ab /installer
parent7d5d8492f7d41acc41b5e46889a33be211fe9caf (diff)
#534 integraciĆ³n mejora en rama de desarrollo branch/version1.0 (1.0.5pre)
REVISADO EL TICKET E INTEGRADO git-svn-id: https://opengnsys.es/svn/branches/version1.0@3686 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/opengnsys_update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index 90d826cb..ff06827e 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -498,7 +498,7 @@ function createDirs()
echoAndLog "${FUNCNAME}(): setting directory permissions"
chmod -R 775 $INSTALL_TARGET/{log/clients,images,tftpboot/pxelinux.cfg,tftpboot/menu.lst}
mkdir -p $INSTALL_TARGET/tftpboot/menu.lst/examples
- ! [ -f $INSTALL_TARGET/tftpboot/menu.lst/templates/00unknown ] || mv $INSTALL_TARGET/tftpboot/menu.lst/templates/* $INSTALL_TARGET/tftpboot/menu.lst/examples
+ ! [ -f $INSTALL_TARGET/tftpboot/menu.lst/templates/00unknown ] && mv $INSTALL_TARGET/tftpboot/menu.lst/templates/* $INSTALL_TARGET/tftpboot/menu.lst/examples
chown -R :$OPENGNSYS_CLIENTUSER $INSTALL_TARGET/{log/clients,images,tftpboot/pxelinux.cfg,tftpboot/menu.lst}
if [ $? -ne 0 ]; then
errorAndLog "${FUNCNAME}(): error while setting permissions"