# print logo
curl -s 'https://raw.githubusercontent.com/instantOS/instantLOGO/master/ascii.txt'
+echo ""
echo "selecting fastest mirror"
# sort mirrors
}
escript depend/depend
-escript lang/keyboard.sh
-escript init/init.sh
-escript disk/disk.sh
-escript pacstrap/pacstrap.sh
+escript lang/keyboard
+escript init/init
+escript disk/disk
+escript pacstrap/pacstrap
# scripts executed in installed environment
chrootscript() {
if lspci | grep -i vga | grep -i nvidia; then
echo "nvidia card detected"
- pacman -S nvidia --noconfirm
- pacman -S nvidia-utils --noconfirm
-
+ pacman -S --noconfirm nvidia nvidia-utils
elif lspci | grep -i vga | grep -i intel; then
echo "intel integrated detected"
- pacman -S xf86-video-intel --noconfirm
- pacman -S mesa --noconfirm
+ pacman -S --noconfirm mesa xf86-video-intel
else
echo "other graphics detected, possibly virtualbox"
pacman -S mesa --noconfirm
#!/bin/bash
-pacman -S fzf --noconfirm
-pacman -S expect --noconfirm
-pacman -S git --noconfirm
-pacman -S dialog --noconfirm
+pacman -S --noconfirm \
+ fzf \
+ expect \
+ git \
+ dialog
clear
#!/bin/bash
-pacman -S sudo --noconfirm
-
pacman -S xorg --noconfirm
-pacman -S lightdm --noconfirm
-pacman -S bash --noconfirm
-pacman -S vim --noconfirm
-pacman -S openbox --noconfirm
-
-pacman -S lightdm-gtk-greeter --noconfirm
+pacman -S --noconfirm \
+ sudo \
+ lightdm \
+ bash \
+ vim \
+ openbox \
+ lightdm-gtk-greeter