From 22ea9c312ff873d88c827dc1ca3a8bd1b5e1b684 Mon Sep 17 00:00:00 2001 From: tommy Date: Sat, 23 Nov 2024 11:34:24 +0000 Subject: [PATCH] =?UTF-8?q?Nahr=C3=A1t=20soubory=20do=20=E2=80=9E/?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Skript pro automatickou instalaci yay --- yay.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 yay.sh diff --git a/yay.sh b/yay.sh new file mode 100644 index 0000000..d7a762d --- /dev/null +++ b/yay.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +# Instalace nezbytných balíčků +sudo pacman -S --needed --noconfirm git base-devel + +# Klonování repozitáře yay z AUR +cd /opt +sudo git clone https://aur.archlinux.org/yay.git +sudo chown -R $(whoami):$(whoami) yay + +# Kompilace a instalace yay +cd yay +makepkg -si + +# Kontrola instalace +if command -v yay &> /dev/null +then + echo "yay byl úspěšně nainstalován." +else + echo "Instalace yay selhala." +fi