changeset 682:578860edde53

Use default path.
author Sascha Wilde <wilde@intevation.de>
date Mon, 30 Jun 2014 18:59:31 +0200
parents a5a709c6ce93
children 05953583a738
files packaging/linux-installer.inc.in
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/packaging/linux-installer.inc.in	Mon Jun 30 18:33:26 2014 +0200
+++ b/packaging/linux-installer.inc.in	Mon Jun 30 18:59:31 2014 +0200
@@ -21,6 +21,8 @@
 echo -n "Select installation prefix for TrustBridge [${PREFIX}]: "
 read -e path
 
+[ -z "$path" ] && path="${PREFIX}"
+
 echo "Installing to '$path':"
 
 if [ ! -d "$path" ] ; then

http://wald.intevation.org/projects/trustbridge/