upgraded install script, now supports cli arguments to dynamically adjust various settings, eg. domain, primary port, subdomains, names, etc.
This commit is contained in:
committed by
Violet Ash
parent
37fecde0c8
commit
cdac0e0ec8
Executable
+9
@@ -0,0 +1,9 @@
|
||||
SUB=("api=1" "test=2" "portfolio=3")
|
||||
|
||||
arraylength=${#SUB[@]}
|
||||
for (( i=0; i<${arraylength}; i++ ));
|
||||
do
|
||||
test="$(echo ${SUB[$i]} | cut -f1 -d=)"
|
||||
test2="$(echo ${SUB[$i]} | cut -f2 -d=)"
|
||||
echo $test $test2
|
||||
done
|
||||
Reference in New Issue
Block a user