From 682d026dabc32a68112414b8f79ff91a937f140d Mon Sep 17 00:00:00 2001 From: RealStickman Date: Sun, 20 Mar 2022 12:23:09 +0100 Subject: [PATCH] Check multilib repo --- arch-setup/install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch-setup/install.sh b/arch-setup/install.sh index ea85d14a..88b2666a 100755 --- a/arch-setup/install.sh +++ b/arch-setup/install.sh @@ -10,6 +10,12 @@ setupdir=$(pwd) #change to home (does not show in terminal) cd "$HOME" +# check if multilib repo is enabled +if ! pacman -Sl multilib &> /dev/null; then + echo "Please enable the multilib repository first" + exit 1 +fi + # fix install problems sudo pacman -Syu sudo pacman -S python-pip