From 1b9bf5f0ab3950775ed667e9f5cf9daded8c3aaf Mon Sep 17 00:00:00 2001 From: Yigit Colakoglu Date: Sun, 4 Apr 2021 23:56:55 +0300 Subject: [PATCH] Artix support --- arch-setup/arch-setup.sh | 8 ++++++-- arch-setup/{packages.base => packages.base.arch} | 1 + arch-setup/packages.base.artix | 15 +++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) rename arch-setup/{packages.base => packages.base.arch} (96%) create mode 100644 arch-setup/packages.base.artix diff --git a/arch-setup/arch-setup.sh b/arch-setup/arch-setup.sh index 2ca38845..99f847fc 100755 --- a/arch-setup/arch-setup.sh +++ b/arch-setup/arch-setup.sh @@ -32,7 +32,7 @@ clear # Run cfdisk for manual partitioning cfdisk $device [ ! $(command -v partprobe) = "" ] && partprobe - +sleep 2 lsblk $device echo -n "Are you satisfied with your partitions?(Y/n): " read satisfied @@ -163,7 +163,11 @@ mkdir /mnt/sys/install curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/packages.minimal > /mnt/sys/install/packages.minimal curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/packages.full > /mnt/sys/install/packages.full -curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/packages.base > /mnt/sys/install/packages.base +if [ "$distro" = "1" ];then + curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/packages.base.arch > /mnt/sys/install/packages.base +else + curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/packages.base.artix > /mnt/sys/install/packages.base +fi curl https://raw.githubusercontent.com/theFr1nge/dotfiles/main/arch-setup/chroot.sh > /mnt/sys/install/chroot.sh chmod +x /mnt/sys/install/chroot.sh diff --git a/arch-setup/packages.base b/arch-setup/packages.base.arch similarity index 96% rename from arch-setup/packages.base rename to arch-setup/packages.base.arch index d1789732..17a95d8f 100644 --- a/arch-setup/packages.base +++ b/arch-setup/packages.base.arch @@ -5,6 +5,7 @@ dhcpcd python git vim +xorg xorg-server xorg-xinit xorg-apps diff --git a/arch-setup/packages.base.artix b/arch-setup/packages.base.artix new file mode 100644 index 00000000..07b1555c --- /dev/null +++ b/arch-setup/packages.base.artix @@ -0,0 +1,15 @@ +networkmanager-openrc +efibootmgr +refind +python +git +vim +xorg +xorg-server +xorg-xinit +xorg-apps +xf86-video-intel +sudo +cronie +wget +curl