diff --git a/arch-install b/arch-install index 1feafa1..c2626da 100755 --- a/arch-install +++ b/arch-install @@ -935,10 +935,7 @@ function abfrage() { for wort in ${extraparameter} do echo "$wort" - if [ "$wort" == "skipbootpartition" ]; then skipbootpartition=y; fi - if [ "$wort" == "noinstall" ]; then noinstall=y; fi - if [ "$wort" == "debug" ]; then debug=y; fi - + set ${wort}=y done # Ausgaben diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 170847b..197d685 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -28,15 +28,7 @@ echo "Hallo Echo" for wort in "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9" do echo "$wort" - if [ "$wort" == "deletework" ]; then deletework=y; fi - if [ "$wort" == "deletecache" ]; then deletecache=y; fi - if [ "$wort" == "makesystem" ]; then makesystem=y; fi - if [ "$wort" == "mkinitcpio" ]; then mkinitcpio=y; fi - if [ "$wort" == "filesystem" ]; then filesystem=y; fi - if [ "$wort" == "initcheck" ]; then initcheck=y; fi - if [ "$wort" == "makeimage" ]; then makeimage=y; fi - if [ "$wort" == "makebios" ]; then makebios=y; fi - if [ "$wort" == "makeiso" ]; then makeiso=y; fi + set ${wort}=y done sleep 5