Don't update index during the normal run

Since we did that at the start
This commit is contained in:
David Heinemeier Hansson
2025-07-22 18:03:05 -04:00
parent bacaabe4a1
commit 2332a4f6db
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
if ! command -v ufw &>/dev/null; then if ! command -v ufw &>/dev/null; then
yay -Sy --noconfirm --needed ufw ufw-docker yay -S --noconfirm --needed ufw ufw-docker
# Allow nothing in, everything out # Allow nothing in, everything out
sudo ufw default deny incoming sudo ufw default deny incoming

View File

@ -1,9 +1,9 @@
#!/bin/bash #!/bin/bash
if [ -z "$OMARCHY_BARE" ]; then if [ -z "$OMARCHY_BARE" ]; then
yay -Sy --noconfirm --needed ttf-font-awesome noto-fonts noto-fonts-emoji noto-fonts-cjk noto-fonts-extra yay -S --noconfirm --needed ttf-font-awesome noto-fonts noto-fonts-emoji noto-fonts-cjk noto-fonts-extra
else else
yay -Sy --noconfirm --needed ttf-font-awesome noto-fonts noto-fonts-emoji yay -S --noconfirm --needed ttf-font-awesome noto-fonts noto-fonts-emoji
fi fi
mkdir -p ~/.local/share/fonts mkdir -p ~/.local/share/fonts

View File

@ -47,7 +47,7 @@ if [ -n "$(lspci | grep -i 'nvidia')" ]; then
"qt6-wayland" "qt6-wayland"
) )
yay -Syu --needed --noconfirm "${PACKAGES_TO_INSTALL[@]}" yay -S --needed --noconfirm "${PACKAGES_TO_INSTALL[@]}"
# Configure modprobe for early KMS # Configure modprobe for early KMS
echo "options nvidia_drm modeset=1" | sudo tee /etc/modprobe.d/nvidia.conf >/dev/null echo "options nvidia_drm modeset=1" | sudo tee /etc/modprobe.d/nvidia.conf >/dev/null