diff --git a/1-setup.sh b/1-setup.sh index 9b172e7..db817dd 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -73,15 +73,17 @@ echo -ne " " # sed $INSTALL_TYPE is using install type to check for MINIMAL installation, if it's true, stop # stop the script and move on, not installing any more packages below that line -sed -n '/'$INSTALL_TYPE'/q;p' /root/ArchTitus/pkg-files/pacman-pkgs.txt | while read line -do - if [[ ${line} == '--END OF MINIMAL INSTALL--' ]]; then - # If selected installation type is FULL, skip the --END OF THE MINIMAL INSTALLATION-- line - continue - fi - echo "INSTALLING: ${line}" - sudo pacman -S --noconfirm --needed ${line} -done +if [[ ! $DESKTOP_ENV == server ]]; then + sed -n '/'$INSTALL_TYPE'/q;p' /root/ArchTitus/pkg-files/pacman-pkgs.txt | while read line + do + if [[ ${line} == '--END OF MINIMAL INSTALL--' ]]; then + # If selected installation type is FULL, skip the --END OF THE MINIMAL INSTALLATION-- line + continue + fi + echo "INSTALLING: ${line}" + sudo pacman -S --noconfirm --needed ${line} + done +fi echo -ne " ------------------------------------------------------------------------- Installing Microcode diff --git a/pkg-files/pacman-pkgs.txt b/pkg-files/pacman-pkgs.txt index b46a767..8634b6a 100644 --- a/pkg-files/pacman-pkgs.txt +++ b/pkg-files/pacman-pkgs.txt @@ -6,19 +6,12 @@ xorg-drivers xorg-xkill xorg-xinit xterm -base binutils dosfstools -grub iptables-nft -linux -linux-firmware linux-headers -networkmanager noto-fonts-emoji -sudo usbutils -vim xdg-user-dirs --END OF MINIMAL INSTALL-- alsa-plugins @@ -51,7 +44,6 @@ fuseiso gamemode gcc gimp -git gparted gptfdisk grub-customizer @@ -63,14 +55,12 @@ htop jdk-openjdk kitty libdvdcss -libnewt libtool lsof lutris lzop m4 make -nano neofetch ntfs-3g ntp @@ -78,7 +68,6 @@ openbsd-netcat openssh os-prober p7zip -pacman-contrib papirus-icon-theme patch picom @@ -92,7 +81,6 @@ python-psutil python-pyqt5 python-pip qemu -rsync snap-pack snapper steam @@ -108,7 +96,6 @@ unrar unzip virt-manager virt-viewer -wget which wine-gecko wine-mono