OSDN Git Service

fix steam
[instantos/instantARCH.git] / depend / system.sh
1 #!/bin/bash
2
3 # installs basic dependencies not specific to instantOS
4
5 echo "installing additional system software"
6
7 pacman -Sy --noconfirm
8
9 while ! pacman -S xorg --noconfirm --needed; do
10     dialog --msgbox "package installation failed \nplease reconnect to internet" 700 700
11     iroot automirror && command -v reflector &&
12         reflector --latest 40 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist
13
14 done
15
16 while ! pacman -S --noconfirm --needed \
17     sudo \
18     lightdm \
19     bash \
20     zsh \
21     vim \
22     xterm \
23     systemd-swap \
24     neofetch \
25     pulseaudio \
26     alsa-utils \
27     usbutils \
28     lightdm-gtk-greeter \
29     inetutils \
30     xdg-desktop-portal-gtk \
31     steam \
32     steam-native-runtime \
33     alacritty \
34     firefox \
35     nitrogen \
36     lshw \
37     gedit \
38     mpv \
39     gvfs-mtp \
40     unzip \
41     xdg-user-dirs-gtk \
42     noto-fonts-emoji \
43     accountsservice \
44     grub; do
45
46     sleep 10
47     command -v reflector &&
48         reflector --latest 40 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist &&
49         pacman -Sy --noconfirm
50
51 done