installs verbessert

This commit is contained in:
2026-03-06 14:30:00 +01:00
parent cff851cfb7
commit 2b8dcd383e
3 changed files with 11 additions and 6 deletions
+5 -3
View File
@@ -3,7 +3,9 @@
sudo pacman -Syu
# Install yay
if pacman -Si yay &>/dev/null; then
if pacman -Q yay &>/dev/null; then
echo "yay bereits installiert; fahre fort."
elif pacman -Si yay &>/dev/null; then
echo "Installiere yay mit pacman ..."
sudo pacman -S --needed yay
else
@@ -13,10 +15,10 @@ else
cd yay
makepkg -si
cd ..
rm -r yay
rm -rf yay
fi
sudo pacman -S \
sudo pacman -S -needed \
firefox \
nextcloud \
openssh \