From c44a67d0f68f9f1127c6073755b32b39c0e0cce8 Mon Sep 17 00:00:00 2001 From: phga Date: Fri, 12 Mar 2021 17:43:31 +0100 Subject: [PATCH] fix: yay install, wlan on desktop --- fresh.sh | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/fresh.sh b/fresh.sh index e772cc9..6a28805 100755 --- a/fresh.sh +++ b/fresh.sh @@ -114,8 +114,8 @@ install_aur_helper() { dialog --title "Installing the AUR Helper" --infobox "Cloning repository..." 0 0 cd $(mktemp -d) git clone https://aur.archlinux.org/yay.git . &>> $logfile - makepkg --noconfirm -s &>> $logfile - pacman -U *.xz + sudo -u $uname makepkg --noconfirm -s &>> $logfile + pacman -U *.zst } installation_loop() { @@ -287,7 +287,10 @@ case $todo in no_beep set_system_stuff # enable_service "--user syncthing" "netctl-auto@wlp3s0" "--user offlineimap@philip_thi" "--user offlineimap@philip_posteo" "--user offlineimap@philip_gmail" - enable_service "netctl-auto@wlp3s0" "systemd-timesyncd" "atd" + if [[ ${curr_platform} == "L" ]]; then + enable_service "netctl-auto@wlp3s0" + fi + enable_service "systemd-timesyncd" "atd" set_root_bashrc ready_steady_go clear @@ -306,7 +309,10 @@ case $todo in init startup_msg pre_update - enable_service "netctl-auto@wlp3s0" "systemd-timesyncd" "atd" + if [[ ${curr_platform} == "L" ]]; then + enable_service "netctl-auto@wlp3s0" + fi + enable_service "systemd-timesyncd" "atd" ready_steady_go clear ;;