summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xarchsetup9
1 files changed, 7 insertions, 2 deletions
diff --git a/archsetup b/archsetup
index 7131e6e..a85387a 100755
--- a/archsetup
+++ b/archsetup
@@ -175,6 +175,7 @@ prerequisites() {
display "subtitle" "Bootstrapping"
action="ensuring current Arch Linux keyring" && display "task" "$action"
+ (pacman -Syy) >> "$logfile" 2>&1 || error "crash" "$action" "$?"
(pacman -S --noconfirm archlinux-keyring) >> "$logfile" 2>&1 || \
error "crash" "$action" "$?"
@@ -204,7 +205,7 @@ prerequisites() {
# enable pacman concurrent downloads and color
action="enabling concurrent downloads" && display "task" "$action"
- sed -i "s/^#ParallelDownloads.*$/ParallelDownloads = 5/;s/^#Color$/Color/" /etc/pacman.conf
+ sed -i "s/^#ParallelDownloads.*$/ParallelDownloads = 10/;s/^#Color$/Color/" /etc/pacman.conf
action="Package Mirrors" && display "subtitle" "$action"
pacman_install reflector
@@ -348,6 +349,10 @@ essential_services() {
display "subtitle" "Networking"
pacman_install networkmanager
+ # Power
+ display "subtitle" "Power"
+ pacman_install upower
+ systemctl enable upower >> "$logfile" 2>&1 || error "error" "$action" "$?"
# Secure Shell
display "subtitle" "Secure Shell"
@@ -437,7 +442,7 @@ xorg() {
pacman_install libglvnd
action="Xorg Display Server" && display "subtitle" "$action"
- for software in xorg-server xorg-xinit xorg-xsetroot xf86-video-intel \
+ for software in xorg-server xorg-xinit xorg-xsetroot \
xsel xorg-xbacklight xf86-input-libinput \
xorg-xdpyinfo xorg-xprop xorg-xwininfo \
xorg-xinput xorg-xkill ; do