[PATCH 1 of 2] Use default path
Wald Commits
scm-commit at wald.intevation.org
Mon Jun 30 19:04:37 CEST 2014
# HG changeset patch
# User Sascha Wilde <wilde at intevation.de>
# Date 1404147571 -7200
# Node ID 578860edde536e0ab2a9a1b18d47b46bf8b07b93
# Parent a5a709c6ce93eb146d04c908d8cbfe560042522b
Use default path.
diff -r a5a709c6ce93 -r 578860edde53 packaging/linux-installer.inc.in
--- 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
More information about the Trustbridge-commits
mailing list