OSDN Git Service

check for disk mount before installing
[instantos/instantARCH.git] / depend / system.sh
1 #!/bin/bash
2
3 echo "installing additional system software"
4
5 pacman -Sy --noconfirm
6
7 while ! pacman -S xorg --noconfirm --needed; do
8     dialog --msgbox "package installation failed \nplease reconnect to internet" 700 700
9     reflector --latest 40 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
10 done
11
12 while ! pacman -S --noconfirm --needed \
13     sudo \
14     lightdm \
15     bash \
16     vim \
17     xterm \
18     systemd-swap \
19     neofetch \
20     pulseaudio \
21     alsa-utils \
22     usbutils \
23     lightdm-gtk-greeter \
24     xdg-desktop-portal-gtk \
25     grub; do
26     
27 sleep 10
28     reflector --latest 40 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
29
30 done