fix
This commit is contained in:
parent
0e14c7dd34
commit
a18e69cb8c
1 changed files with 18 additions and 8 deletions
26
arch-install
26
arch-install
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue