summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
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"
}