summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-02-27 13:08:48 +0000
committerramon <ramongomez@us.es>2012-02-27 13:08:48 +0000
commit0cee68998b646268f1926394b7678916d608609c (patch)
treecf9e80b15578e16c6853332f7c1f1b60d6548f3d
parent39ff69d3d6c9d0ef9943d7c3cfca742162ae0549 (diff)
Versión 1.0.3, #504 #507: Corregir errata al detectar archivo.
git-svn-id: https://opengnsys.es/svn/trunk@2703 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-xinstaller/opengnsys_installer.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index 1d5e91e9..5fdf276b 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -95,8 +95,8 @@ esac
# Modificar variables de configuración tras instalar paquetes del sistema.
function autoConfigurePost()
{
-[ -d $SAMBAINIT ] || SAMBAINIT=/etc/init.d/samba # Debian 6
-[ -d $TFTPCFGDIR ] || TFTPCFGDIR=/srv/tftp # Debian 6
+[ -e $SAMBAINIT ] || SAMBAINIT=/etc/init.d/samba # Debian 6
+[ -e $TFTPCFGDIR ] || TFTPCFGDIR=/srv/tftp # Debian 6
}
# Cargar lista de paquetes del sistema y actualizar algunas variables de configuración