summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorNick Daly <nick.m.daly@gmail.com>2010-02-07 20:49:56 -0600
committerNick Daly <nick.m.daly@gmail.com>2010-02-07 20:49:56 -0600
commitc0eac1c5a92cba284913d6606034527ec8873424 (patch)
treeb656ed9b2f9ae9cf074ca52acd5c1cdee215bdc0 /includes
parent4bceb4ab46d2c9a94193fbe900a6adfc62452fc7 (diff)
downloadgemrb-gameinstallers-c0eac1c5a92cba284913d6606034527ec8873424.tar.bz2
gemrb-gameinstallers-c0eac1c5a92cba284913d6606034527ec8873424.zip
Registry commands now properly hide error messages.
Diffstat (limited to 'includes')
-rw-r--r--includes/autoinstall-includes.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/autoinstall-includes.sh b/includes/autoinstall-includes.sh
index f4be783..88fd796 100644
--- a/includes/autoinstall-includes.sh
+++ b/includes/autoinstall-includes.sh
@@ -141,7 +141,7 @@ function recommendcfg
STARTCD=1
fi
- gemrbDir="~/.gemrb"
+ gemrbDir="${HOME}/.gemrb"
installRegistry="${gemrbDir}/installations.ini"
displayText="To play the game with GemRB, you will need to add the following\n"
@@ -176,7 +176,7 @@ function recommendcfg
fi
# record the installation in the installation registry.
- mkdir "$gemrbDir"
- touch "$installRegistry"
- echo "$TARGETDIR" >> "$installRegistry"
+ mkdir "$gemrbDir" 2>/dev/null
+ touch "$installRegistry" 2>/dev/null
+ echo "$TARGETDIR" 2>/dev/null >> "$installRegistry"
}