This commit is contained in:
simono41 2018-07-31 08:18:56 +02:00
parent 0e14c7dd34
commit a18e69cb8c

View file

@ -38,6 +38,7 @@ if ! [ -z "${2}" ]; then
startparameter="${startparameter}${1} " startparameter="${startparameter}${1} "
shift shift
done done
start=root
fi fi
function minimalinstallation() { function minimalinstallation() {
@ -1170,14 +1171,23 @@ function abfrage() {
# Begin the Script!!! # Begin the Script!!!
if [ "${start}" == "root" ]; then
# for-schleife # for-schleife
for wort in ${1} for wort in ${startparameter}
do do
echo "$wort" echo "$wort"
export ${wort%=*}=${wort#*=} export ${wort%=*}=${wort#*=}
echo "Parameter ${wort%=*} = ${wort#*=}" echo "Parameter ${wort%=*} = ${wort#*=}"
done done
else
# for-schleife
for wort in ${1}
do
echo "$wort"
export ${wort%=*}=${wort#*=}
echo "Parameter ${wort%=*} = ${wort#*=}"
done
fi
if [ "${fastinstall}" == "y" ] && [ "${fastinstallnext}" != "y" ]; then if [ "${fastinstall}" == "y" ] && [ "${fastinstallnext}" != "y" ]; then
gitclone gitclone