mirror of
https://github.com/LukeHagar/omarchy.git
synced 2025-12-09 20:47:48 +00:00
Update packages as the very first thing
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
echo "Add Omarchy Package Repository"
|
||||
|
||||
omarchy-refresh-pacman-mirrorlist
|
||||
sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist
|
||||
|
||||
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 systemctl restart systemd-timesyncd
|
||||
sudo pacman -Syu --noconfirm
|
||||
fi
|
||||
|
||||
sudo systemctl restart systemd-timesyncd
|
||||
sudo pacman -Syu --noconfirm
|
||||
@@ -1,3 +0,0 @@
|
||||
echo "Ensure all indexes and packages are up to date"
|
||||
|
||||
sudo pacman -Syu --noconfirm
|
||||
Reference in New Issue
Block a user