summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstaller/opengnsys_installer.sh2
-rwxr-xr-xinstaller/opengnsys_update.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh
index 8b3118ce..13920b7c 100755
--- a/installer/opengnsys_installer.sh
+++ b/installer/opengnsys_installer.sh
@@ -1151,7 +1151,7 @@ function installationSummary()
local VERSIONFILE="$INSTALL_TARGET/doc/VERSION.txt"
local REVISION=$(LANG=C svn info $SVN_URL|awk '/Revision:/ {print "r"$2}')
[ -f $VERSIONFILE ] || echo "OpenGnSys" >$VERSIONFILE
- perl -pi -e "s/($| r[0-9])*/ $REVISION/" $VERSIONFILE
+ perl -pi -e "s/($| r[0-9]*)/ $REVISION/" $VERSIONFILE
# Mostrar informaciĆ³n.
echo
diff --git a/installer/opengnsys_update.sh b/installer/opengnsys_update.sh
index d5d6fa4a..ac20d1a0 100755
--- a/installer/opengnsys_update.sh
+++ b/installer/opengnsys_update.sh
@@ -36,9 +36,9 @@ if [ -d "$PROGRAMDIR/../installer" ]; then
USESVN=0
else
USESVN=1
- SVN_URL="http://$OPENGNSYS_SERVER/svn/trunk/"
DEPS="$DEPS subversion"
fi
+SVN_URL="http://$OPENGNSYS_SERVER/svn/trunk/"
WORKDIR=/tmp/opengnsys_update
mkdir -p $WORKDIR
@@ -379,7 +379,7 @@ function createDirs()
# Crear usuario ficticio.
if id -u $OPENGNSYS_CLIENTUSER &>/dev/null; then
- echoAndLog "${FUNCNAME}(): user \"$OPENGNSYS_CLIENTUSER\"is already created"
+ echoAndLog "${FUNCNAME}(): user \"$OPENGNSYS_CLIENTUSER\" is already created"
else
echoAndLog "${FUNCNAME}(): creating OpenGnSys user"
useradd $OPENGNSYS_CLIENTUSER 2>/dev/null