From 5eb5dbd7334a8424a8a28753a10944a741f09128 Mon Sep 17 00:00:00 2001 From: Kron4ek Date: Tue, 30 Mar 2021 01:57:54 +0500 Subject: [PATCH] Add steamtinkerlaunch --- create-arch-bootstrap.sh | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/create-arch-bootstrap.sh b/create-arch-bootstrap.sh index 8e37e9d..16f8fd2 100755 --- a/create-arch-bootstrap.sh +++ b/create-arch-bootstrap.sh @@ -364,9 +364,6 @@ cd "${script_dir}" || exit 1 bootstrap="${script_dir}"/root.x86_64 -add_chaoticaur_repo="true" -install_wine_tkg="true" - chaoticaur_keyring="https://random-mirror.chaotic.cx/chaotic-aur/x86_64/chaotic-keyring-20201229-1-any.pkg.tar.zst" chaoticaur_mirrorlist="https://random-mirror.chaotic.cx/chaotic-aur/x86_64/chaotic-mirrorlist-20210317-1-any.pkg.tar.zst" @@ -383,6 +380,8 @@ packagelist="base base-devel nano mesa lib32-mesa vulkan-radeon lib32-vulkan-rad libva-mesa-driver playonlinux libva-intel-driver lib32-libva-intel-driver \ intel-media-driver" +chaotic_packagelist="wine-tkg-staging-fsync-git steamtinkerlaunch" + current_release="$(wget -q "https://archlinux.org/download/" -O - | grep "Current Release" | tail -c -16 | head -c +10)" echo "Downloading ${current_release} release" @@ -411,10 +410,10 @@ run_in_chroot pacman-key --init run_in_chroot pacman-key --populate archlinux run_in_chroot pacman -Syu --noconfirm run_in_chroot pacman --noconfirm -S ${packagelist} -run_in_chroot pacman --noconfirm -Scc +run_in_chroot yes | pacman -Scc run_in_chroot locale-gen -if [ "${add_chaoticaur_repo}" = "true" ]; then +if [ -n "${chaotic_packagelist}" ]; then run_in_chroot wget -O /opt/chaoticaur-keyring.tar.zst "${chaoticaur_keyring}" run_in_chroot wget -O /opt/chaoticaur-mirrorlist.tar.zst "${chaoticaur_mirrorlist}" run_in_chroot pacman --noconfirm -U /opt/chaoticaur-keyring.tar.zst @@ -426,13 +425,9 @@ if [ "${add_chaoticaur_repo}" = "true" ]; then run_in_chroot pacman -Syu --noconfirm - if [ "${install_wine_tkg}" = "true" ]; then - run_in_chroot pacman --noconfirm -Rdd wine-staging - run_in_chroot pacman --noconfirm -S wine-tkg-staging-fsync-git - fi + run_in_chroot yes | pacman -S ${chaotic_packagelist} fi -rm "${bootstrap}"/var/cache/pacman/pkg/* mkdir "${bootstrap}"/media unmount_chroot