summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh54
1 files changed, 0 insertions, 54 deletions
diff --git a/install.sh b/install.sh
index 3d5f1b0..57a3651 100755
--- a/install.sh
+++ b/install.sh
@@ -375,60 +375,6 @@ grub_options="--target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB"
artix-chroot /mnt bash -c "grub-install ${grub_options}"
artix-chroot /mnt bash -c "grub-mkconfig -o /boot/grub/grub.cfg"
-# Enable Arch repositories (extra, community & multilib)
-# https://wiki.artixlinux.org/Main/Repositories
-if [[ "${arch_support}" == true ]]; then
- echo "Enabling Arch repositories..."
-
- # Package requirements
- pacman --needed --noconfirm -Sy vim git \
- || { echo "Error installing packages"; exit; }
-
- # Download latest Arch mirrorlist
- url="https://github.com/archlinux/svntogit-packages\
-/raw/packages/pacman-mirrorlist/trunk/mirrorlist"
- curl -L "${url}" -o /mnt/etc/pacman.d/mirrorlist-arch \
- || { echo "Error downloading Arch mirrorlist"; exit; }
-
- # Set a region defined in 'mirrorlist-arch'
- region="United Kingdom"
-
- # Ensure region exists
- grep -qw "${region}" /mnt/etc/pacman.d/mirrorlist-arch \
- || { echo "Arch server location '${region}' not found."; exit; }
-
- # Uncomment local servers in Arch mirrorlist
- vim -s <(printf "/%s\nvip:s/^#//g\n:wq\n" "${region}") \
- /mnt/etc/pacman.d/mirrorlist-arch &>/dev/null
-
- # Add Arch mirrorlist & servers to pacman
- echo "
-# Arch
-[extra]
-Include = /etc/pacman.d/mirrorlist-arch
-
-[multilib]
-Include = /etc/pacman.d/mirrorlist-arch
-" >> /mnt/etc/pacman.conf
-
- # Download Arch Linux support
- artix-chroot /mnt bash -c \
- "pacman --noconfirm -Syy artix-archlinux-support" \
- || { echo "Error installing artix-archlinux-support"; exit; }
-
- # Update keys
- artix-chroot /mnt bash -c "pacman-key --populate archlinux"
-
- echo "Arch support installation complete!"
-fi
-
-# Install AUR helper
-if [[ "${enable_aur}" == true ]]; then
- artix-chroot /mnt bash -c "pacman --noconfirm -Syy trizen" \
- || { echo "Error installing trizen AUR helper"; exit; }
- echo "AUR helper installation complete!"
-fi
-
# FINISH
swapoff -a
umount -R /mnt