fix
This commit is contained in:
parent
5a67091ecd
commit
ff09f4e1c2
1 changed files with 19 additions and 13 deletions
12
arch-install
12
arch-install
|
@ -959,20 +959,24 @@ fi
|
||||||
#
|
#
|
||||||
echo "A purge stops the chance of installing on the system."
|
echo "A purge stops the chance of installing on the system."
|
||||||
echo "It may take a while!"
|
echo "It may take a while!"
|
||||||
dd if=/dev/zero of=${device} bs=64M count=10 status=progress
|
if [ "${name}" != "noinstall" ]; then
|
||||||
|
dd if=/dev/zero of=${device} bs=64M count=10 status=progress
|
||||||
|
fi
|
||||||
#
|
#
|
||||||
if [ "${Partition}" == "uefi" ]
|
if [ "${Partition}" == "uefi" ]
|
||||||
then
|
then
|
||||||
echo "Partitions with UEFI"
|
echo "Partitions with UEFI"
|
||||||
|
|
||||||
|
if [ "${name}" != "noinstall" ]; then
|
||||||
if [ "${swap}" != "n" ]; then
|
if [ "${swap}" != "n" ]; then
|
||||||
echo "Create additional swap partition"
|
echo "Create additional swap partition"
|
||||||
partionierenmitswap
|
partionierenmitswap
|
||||||
else
|
else
|
||||||
partionierenohneswap
|
partionierenohneswap
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${name}" == "noinstall" ]; then
|
if [ "${name}" != "noinstall" ]; then
|
||||||
echo "installation"
|
echo "installation"
|
||||||
installation
|
installation
|
||||||
fi
|
fi
|
||||||
|
@ -995,14 +999,16 @@ then
|
||||||
echo "Finished"
|
echo "Finished"
|
||||||
elif [ "${Partition}" == "bios" ]; then
|
elif [ "${Partition}" == "bios" ]; then
|
||||||
echo "Partitions with MBR"
|
echo "Partitions with MBR"
|
||||||
|
if [ "${name}" != "noinstall" ]; then
|
||||||
if [ "${swap}" != "n" ]; then
|
if [ "${swap}" != "n" ]; then
|
||||||
echo "Create additional swap partition"
|
echo "Create additional swap partition"
|
||||||
partionierenmitswap
|
partionierenmitswap
|
||||||
else
|
else
|
||||||
partionierenohneswap
|
partionierenohneswap
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${name}" == "noinstall" ]; then
|
if [ "${name}" != "noinstall" ]; then
|
||||||
echo "installation"
|
echo "installation"
|
||||||
installation
|
installation
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue