From c0eac1c5a92cba284913d6606034527ec8873424 Mon Sep 17 00:00:00 2001 From: Nick Daly Date: Sun, 7 Feb 2010 20:49:56 -0600 Subject: Registry commands now properly hide error messages. --- includes/autoinstall-includes.sh | 8 ++++---- 1 file 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" } -- cgit v1.2.3