| Hash | Commit message | Author | Date | Files | + | - |
1 | commit 2995a2a1f61408c2e8a94e575b4067ad42287210 |
2 | Author: Connor Etherington <[email protected]> |
3 | Date: Sat Mar 26 08:13:16 2022 +0200 |
4 | |
5 | Update. |
6 | --- |
7 | AutoInstall.sh | 19 +++++++++---------- |
8 | 1 file changed, 9 insertions(+), 10 deletions(-) |
9 | |
10 | diff --git a/AutoInstall.sh b/AutoInstall.sh |
11 | index 9c1c62b..874b52b 100755 |
12 | --- a/AutoInstall.sh |
13 | +++ b/AutoInstall.sh |
14 | @@ -293,9 +293,7 @@ system_config(){ \ |
15 | |
16 | grep -q "ILoveCandy" /etc/pacman.conf || sed -i "/#VerbosePkgLists/a ILoveCandy" /etc/pacman.conf |
17 | sed -i "s/^#ParallelDownloads = *.*$/ParallelDownloads = 10/;s/^#Color$/Color/" /etc/pacman.conf |
18 | - echo "$hostname" > /etc/hostname |
19 | - |
20 | - [ -f /etc/localtime ] && rm /etc/localtime ; |
21 | + [ $edition = '3' ] && hostname="ArchLinux" ; [ -f /etc/localtime ] && rm /etc/localtime ; |
22 | ln -sF /usr/share/zoneinfo/Africa/Harare /etc/localtime |
23 | sed -i 's/#en_US.UTF-8/en_US.UTF-8/g' /etc/locale.gen |
24 | sed -i 's/#en_ZA.UTF-8/en_ZA.UTF-8/g' /etc/locale.gen |
25 | @@ -304,11 +302,10 @@ system_config(){ \ |
26 | [ "$(cat /etc/locale.conf|grep "$area"|wc -l)" -eq "0" ] && |
27 | echo "LANG=en_"$area".UTF-8" >>/etc/locale.conf ; locale-gen &>/dev/null |
28 | echo -e "127.0.0.1 localhost\n::1 localhost\n127.0.1.1 $hostname.localhost $hostname" >/etc/hosts |
29 | - [ $edition = "2" ] && systemctl enable sddm.service >/dev/null 2>&1 |
30 | - systemctl enable NetworkManager.service >/dev/null 2>&1 |
31 | - systemctl enable bluetooth-autoconnect.service >/dev/null 2>&1 |
32 | - systemctl enable bluetooth.service >/dev/null 2>&1 |
33 | - [ $edition = "1" ] && systemctl enable mpd.service >/dev/null 2>&1 |
34 | + [ $edition = "2" ] && systemctl enable sddm.service >/dev/null 2>&1 ; systemctl enable NetworkManager.service >/dev/null 2>&1 ;[41m |
35 | + [ $edition = '1' ] || [ $edition = '2' ] && systemctl enable bluetooth-autoconnect.service >/dev/null 2>&1 ;[41m |
36 | + systemctl enable bluetooth.service >/dev/null 2>&1 ; [ $edition = "1" ] &&[41m |
37 | + systemctl enable mpd.service >/dev/null 2>&1 ; echo "$hostname" > /etc/hostname |
38 | rm -rf /tmp/pulse* ~/.pulse* ~/.config/pulse /home/$name/.pulse* /home/$name/.config/pulse* ; } |
39 | |
40 | xftlib(){ \ |
41 | @@ -399,9 +396,11 @@ sudoers "%wheel ALL=(ALL) NOPASSWD: ALL #AutoLinux" |
42 | archlinuxinstall yay-bin |
43 | |
44 | |
45 | -[ $edition = "1" ] && pkgsfile="https://gitlab.com/qYp/autolinux/-/raw/pkgs/dwm.csv" && gitbranch="dwm" |
46 | +[ $edition = "1" ] && pkgsfile="https://gitlab.com/qYp/autolinux/-/raw/editions/dwm.csv" && gitbranch="dwm" |
47 | + |
48 | +[ $edition = "2" ] && pkgsfile="https://gitlab.com/qYp/autolinux/-/raw/editions/plasma.csv" && gitbranch="plasma" |
49 | |
50 | -[ $edition = "2" ] && pkgsfile="https://gitlab.com/qYp/autolinux/-/raw/pkgs/plasma.csv" && gitbranch="plasma" |
51 | +[ $edition = "3" ] && pkgsfile="https://gitlab.com/qYp/autolinux/-/raw/editions/plasma.csv" && gitbranch="bare" |
52 | |
53 | |
54 | installationloop ; cpudrivers ; gpudrivers |