Skip to content

Commit

Permalink
update setup.sh script to make it use yay instead of pacman
Browse files Browse the repository at this point in the history
  • Loading branch information
moheladwy committed Dec 14, 2024
1 parent 57a2c94 commit 6824fd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ x11_session_apps=(
# Check if yay is installed.
check_yay() {
if ! command -v yay &> /dev/null; then
read -p "yay is not installed. Do you want to install yay? (y/n): " choice
read -r -p "yay is not installed. Do you want to install yay? (y/n): " choice
if [ "$choice" = "y" ]; then
sudo pacman -S --needed --noconfirm git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
cd yay || exit
makepkg -si --noconfirm
else
echo "Please install yay first!"
Expand Down

0 comments on commit 6824fd7

Please sign in to comment.