Mercurial > trustbridge
comparison packaging/linux-installer.inc.in @ 682:578860edde53
Use default path.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Mon, 30 Jun 2014 18:59:31 +0200 |
parents | a5a709c6ce93 |
children | b55d49150e36 |
comparison
equal
deleted
inserted
replaced
680:a5a709c6ce93 | 682:578860edde53 |
---|---|
19 EOF | 19 EOF |
20 | 20 |
21 echo -n "Select installation prefix for TrustBridge [${PREFIX}]: " | 21 echo -n "Select installation prefix for TrustBridge [${PREFIX}]: " |
22 read -e path | 22 read -e path |
23 | 23 |
24 [ -z "$path" ] && path="${PREFIX}" | |
25 | |
24 echo "Installing to '$path':" | 26 echo "Installing to '$path':" |
25 | 27 |
26 if [ ! -d "$path" ] ; then | 28 if [ ! -d "$path" ] ; then |
27 echo "creating installation directory ..." | 29 echo "creating installation directory ..." |
28 install -d "$path" || fatal "Could not create '$path'!" | 30 install -d "$path" || fatal "Could not create '$path'!" |