diff options
author | irina <irinagomez@us.es> | 2018-01-15 11:47:34 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2018-01-15 11:47:34 +0000 |
commit | f2e6a2ee2b4363cd22d90d6bff362c0d89c142da (patch) | |
tree | b2c4dab8686296e3d254c14ad03ead87297df2d3 /client | |
parent | 85a6c93a11744e7c16f8377473bb17f297f55718 (diff) |
#796 #791 ogGrubOgliveDefaultEntry: Se corrige errata que dejaba el fichero de configuración con un formato inválido
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5554 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-x | client/engine/Boot.lib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index d6c03ec6..85cdf2fc 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -1682,7 +1682,7 @@ NUMENTRY=$(grep ^menuentry $CFGFILE| grep -n "OpenGnsys Live"|cut -d: -f1) [ -z "$NUMENTRY" ] && (ogRaiseError $OG_ERR_NOTFOUND "menuentry OpenGnsys Live in $CFGFILE" || return $?) let NUMENTRY=$NUMENTRY-1 -sed --regexp-extended -i s/"set default=\"?[0-9]*\"?"/"set default=\"$NUMENTRY\""/g $CFGFILE +sed --regexp-extended -i s/"set default=\"?[0-9]+\"?"/"set default=\"$NUMENTRY\""/g $CFGFILE MSG="MSG_HELP_$FUNC" echo "${!MSG%%\.}: $@" |