if [ -e /usr/share/liveutils ]; then
echo "preparing isntallation
OK" | instantmenu -c -bw 4 -l 2 &
- sleep 1
else
# print logo
echo ""
echo "installation finished"
-sleep 2
-
[ -e /tmp/instantosreboot ] && reboot
EDITDISK="$(fdisk -l | grep -i '^Disk /.*:' | imenu -l 'choose disk to edit> ' | grep -o '/dev/[^:]*')"
echo "editing disk $EDITDISK"
- sleep 2
if guimode; then
if command -v st; then
st -e bash -c "cfdisk $EDITDISK"
if imenu -c "This will erase all data on that partition. Continue?"; then
ROOTCONFIRM="true"
echo "instantOS will be installed on $PARTROOT"
- sleep 1
fi
echo "$PARTROOT" | iroot i partroot
done
cat /tmp/topmirrors
sleep 2
cat /tmp/topmirrors >/etc/pacman.d/mirrorlist
+ sleep 2
clear
fi
cat /root/instantARCH/data/lang/locale/"$(iroot locale)" >>/etc/locale.gen
echo "" >>/etc/locale.gen
-sleep 1
+sleep 0.3
locale-gen
if ! [ -e /usr/bin/liveutils ]; then
escript disk/disk "partitioning disk"
escript disk/mount "mounting partitions"
escript pacstrap/pacstrap "installing base packages"
-sleep 1
+sleep 0.5
cd /root/instantARCH
bash ./lang/xorg.sh
-sleep 1
+sleep 0.5
bash ./lang/locale.sh