Remove sudo from yay

This commit is contained in:
RealStickman 2020-11-04 21:56:15 +01:00
parent bd79f32f35
commit a25b00417c

View File

@ -294,7 +294,7 @@ fi
if [ $in_gnome -eq 1 ]; then if [ $in_gnome -eq 1 ]; then
echo "Installing gnome" echo "Installing gnome"
sudo yay -S --needed --noconfirm gnome gnome-shell-extension-arc-menu gnome-shell-extension-dash-to-dock gnome-tweaks yay -S --needed --noconfirm gnome gnome-shell-extension-arc-menu gnome-shell-extension-dash-to-dock gnome-tweaks
else else
echo "Skipping gnome" echo "Skipping gnome"
fi fi
@ -430,28 +430,28 @@ fi
if [ $in_easystrokes -eq 1 ]; then if [ $in_easystrokes -eq 1 ]; then
echo "Installing Easystrokes" echo "Installing Easystrokes"
sudo yay -S --needed --noconfirm easystroke yay -S --needed --noconfirm easystroke
else else
echo "Skipping Easystrokes" echo "Skipping Easystrokes"
fi fi
if [ $in_liferea -eq 1 ]; then if [ $in_liferea -eq 1 ]; then
echo "Installing Liferea" echo "Installing Liferea"
sudo yay -S --needed --noconfirm liferea yay -S --needed --noconfirm liferea
else else
echo "Skipping Liferea" echo "Skipping Liferea"
fi fi
if [ $in_mirage -eq 1 ]; then if [ $in_mirage -eq 1 ]; then
echo "Installing Mirage" echo "Installing Mirage"
sudo yay -S --needed --noconfirm matrix-mirage yay -S --needed --noconfirm matrix-mirage
else else
echo "Skipping Mirage" echo "Skipping Mirage"
fi fi
if [ $in_bettergram -eq 1 ]; then if [ $in_bettergram -eq 1 ]; then
echo "Installing Bettergram" echo "Installing Bettergram"
sudo yay -S --needed --noconfirm bettergram yay -S --needed --noconfirm bettergram
else else
echo "Skipping Bettergram" echo "Skipping Bettergram"
fi fi
@ -459,7 +459,7 @@ fi
#performance and battery life #performance and battery life
if [ $in_acpufreq -eq 1 ]; then if [ $in_acpufreq -eq 1 ]; then
echo "Installing auto-cpufreq" echo "Installing auto-cpufreq"
sudo yay -S --needed --noconfirm auto-cpufreq-git yay -S --needed --noconfirm auto-cpufreq-git
sudo auto-cpufreq --install sudo auto-cpufreq --install
sudo systemctl start auto-cpufreq sudo systemctl start auto-cpufreq
sudo systemctl enable auto-cpufreq sudo systemctl enable auto-cpufreq