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 ;;