trim down install, tighten sshd
This commit is contained in:
+4
-6
@@ -10,14 +10,12 @@ YAY_FLAGS="--noconfirm --answerdiff=None --answeredit=None --answerclean=None"
|
||||
if ! yay --version &>/dev/null; then
|
||||
echo "yay is broken (likely a libalpm bump). Rebuilding yay..."
|
||||
sudo pacman -R --noconfirm yay
|
||||
cd /tmp
|
||||
cd /tmp || exit 1
|
||||
rm -rf yay
|
||||
git clone https://aur.archlinux.org/yay.git
|
||||
cd yay
|
||||
git clone https://aur.archlinux.org/yay.git && cd yay || exit 1
|
||||
makepkg -si --noconfirm
|
||||
cd ..
|
||||
rm -rf yay
|
||||
cd
|
||||
cd .. && rm -rf yay
|
||||
cd || exit 1
|
||||
fi
|
||||
|
||||
yay -Sua $YAY_FLAGS
|
||||
|
||||
Reference in New Issue
Block a user