mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Always --noconfirm
This commit is contained in:
@@ -4,5 +4,5 @@ echo "Adding multilib repository for 32-bit compatibility"
|
|||||||
sudo sed -i '/^\s*#\[multilib\]/,/^$/{s/^\s*#//}' /etc/pacman.conf
|
sudo sed -i '/^\s*#\[multilib\]/,/^$/{s/^\s*#//}' /etc/pacman.conf
|
||||||
|
|
||||||
echo "Now pick dependencies matching your graphics card"
|
echo "Now pick dependencies matching your graphics card"
|
||||||
sudo pacman -Syu steam
|
sudo pacman -Syu --noconfirm steam
|
||||||
setsid gtk-launch steam >/dev/null 2>&1 &
|
setsid gtk-launch steam >/dev/null 2>&1 &
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ if [ -n "$(lspci | grep -i 'nvidia')" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# force package database refresh
|
# force package database refresh
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu --noconfirm
|
||||||
|
|
||||||
# Install packages
|
# Install packages
|
||||||
PACKAGES_TO_INSTALL=(
|
PACKAGES_TO_INSTALL=(
|
||||||
|
|||||||
@@ -36,4 +36,4 @@ if [[ "$(uname -m)" == "x86_64" ]] && [ -z "$DISABLE_CHAOTIC" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Refresh all repos
|
# Refresh all repos
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu --noconfirm
|
||||||
|
|||||||
@@ -3,5 +3,5 @@ echo "Add Omarchy Package Repository"
|
|||||||
if ! grep -q "omarchy" /etc/pacman.conf; then
|
if ! grep -q "omarchy" /etc/pacman.conf; then
|
||||||
sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\/\n' /etc/pacman.conf
|
sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\/\n' /etc/pacman.conf
|
||||||
sudo systemctl restart systemd-timesyncd
|
sudo systemctl restart systemd-timesyncd
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu --noconfirm
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ if [[ "$(uname -m)" == "x86_64" ]] && ! grep -q '^\[chaotic-aur\]' /etc/pacman.c
|
|||||||
echo -e '\n[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist' | sudo tee -a /etc/pacman.conf >/dev/null
|
echo -e '\n[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist' | sudo tee -a /etc/pacman.conf >/dev/null
|
||||||
|
|
||||||
# Refresh pacman package databases
|
# Refresh pacman package databases
|
||||||
sudo pacman -Syu
|
sudo pacman -Syu --noconfirm
|
||||||
else
|
else
|
||||||
echo "Failed to install Chaotic-AUR, so won't include it in pacman config!"
|
echo "Failed to install Chaotic-AUR, so won't include it in pacman config!"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user