Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion install/omarchy-base.packages
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ gum
gvfs-mtp
gvfs-nfs
gvfs-smb
herdr
herdr-git
hyprland
hyprland-guiutils
hyprland-preview-share-picker
Expand Down
19 changes: 19 additions & 0 deletions migrations/1787155435.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
echo "Switch to the herdr-git package that follows upstream Herdr"

# herdr was built from an Omarchy fork whose only divergence was replaying an
# agent's CLI options on resume, work upstream declined twice. herdr-git drops
# the fork and follows upstream master, which renames the package.

if omarchy-pkg-present herdr-git; then
exit 0
fi

# One transaction rather than a drop and an add: the session is usually running
# inside herdr, and an install that failed between the two would leave it with
# no terminal. --noconfirm answers "no" to the conflict herdr-git raises against
# the installed herdr, so --ask 4 preselects removing it.
sudo pacman -S --noconfirm --ask 4 --needed herdr-git

# pacman does not always exit non-zero when a package fails to install, and a
# migration that marked itself done would leave this machine on the fork for good.
omarchy-pkg-present herdr-git