forked from bashclub/zamba-lxc-toolbox
Fixed interactive mode of install.sh
This commit is contained in:
parent
d3297cf36e
commit
21a6af8817
@ -49,10 +49,6 @@ while getopts "hi:s:c:" opt; do
|
||||
done
|
||||
shift $((OPTIND-1))
|
||||
|
||||
# Load configuration file
|
||||
echo "Loading config file '$config'..."
|
||||
source $config
|
||||
|
||||
OPTS=$(ls -d $PWD/src/*/ | grep -v __ | xargs basename -a)
|
||||
|
||||
valid=0
|
||||
@ -90,6 +86,10 @@ if [[ "$valid" != "1" ]]; then
|
||||
usage 1
|
||||
fi
|
||||
|
||||
# Load configuration file
|
||||
echo "Loading config file '$config'..."
|
||||
source $config
|
||||
|
||||
source $PWD/src/$service/constants-service.conf
|
||||
|
||||
# CHeck is the newest template available, else download it.
|
||||
|
Loading…
Reference in New Issue
Block a user