mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Improve the update for old installs
This commit is contained in:
@@ -9,6 +9,15 @@ export OMARCHY_PATH=$HOME/.local/share/omarchy
|
|||||||
export PATH=$OMARCHY_PATH/bin/:$PATH
|
export PATH=$OMARCHY_PATH/bin/:$PATH
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Remove Zoom/qt5-remoteobjects to prevent a super lengthy build on old Omarchy installs
|
||||||
|
sudo pacman -Rns --noconfirm zoom qt5-remoteobjects
|
||||||
|
|
||||||
|
# Ensure we have the latest repos
|
||||||
|
omarchy-refresh-pacman-mirrorlist
|
||||||
|
if ! grep -q "omarchy" /etc/pacman.conf; then
|
||||||
|
sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/stable\/$arch\n' /etc/pacman.conf
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p ~/.local/state/omarchy/migrations
|
mkdir -p ~/.local/state/omarchy/migrations
|
||||||
touch ~/.local/state/omarchy/migrations/1751134560.sh
|
touch ~/.local/state/omarchy/migrations/1751134560.sh
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user