fix
This commit is contained in:
parent
5a67091ecd
commit
ff09f4e1c2
1 changed files with 19 additions and 13 deletions
32
arch-install
32
arch-install
|
@ -959,20 +959,24 @@ fi
|
|||
#
|
||||
echo "A purge stops the chance of installing on the system."
|
||||
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" ]
|
||||
then
|
||||
echo "Partitions with UEFI"
|
||||
|
||||
if [ "${swap}" != "n" ]; then
|
||||
echo "Create additional swap partition"
|
||||
partionierenmitswap
|
||||
else
|
||||
partionierenohneswap
|
||||
if [ "${name}" != "noinstall" ]; then
|
||||
if [ "${swap}" != "n" ]; then
|
||||
echo "Create additional swap partition"
|
||||
partionierenmitswap
|
||||
else
|
||||
partionierenohneswap
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${name}" == "noinstall" ]; then
|
||||
if [ "${name}" != "noinstall" ]; then
|
||||
echo "installation"
|
||||
installation
|
||||
fi
|
||||
|
@ -995,14 +999,16 @@ then
|
|||
echo "Finished"
|
||||
elif [ "${Partition}" == "bios" ]; then
|
||||
echo "Partitions with MBR"
|
||||
if [ "${swap}" != "n" ]; then
|
||||
echo "Create additional swap partition"
|
||||
partionierenmitswap
|
||||
else
|
||||
partionierenohneswap
|
||||
if [ "${name}" != "noinstall" ]; then
|
||||
if [ "${swap}" != "n" ]; then
|
||||
echo "Create additional swap partition"
|
||||
partionierenmitswap
|
||||
else
|
||||
partionierenohneswap
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${name}" == "noinstall" ]; then
|
||||
if [ "${name}" != "noinstall" ]; then
|
||||
echo "installation"
|
||||
installation
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue