Skip to content

Instantly share code, notes, and snippets.

@catlover999
Last active October 1, 2024 14:04
Show Gist options
  • Save catlover999/4d8fb2a2bc59304cd04d1c203a8398df to your computer and use it in GitHub Desktop.
Save catlover999/4d8fb2a2bc59304cd04d1c203a8398df to your computer and use it in GitHub Desktop.
Automatically updates Flatpak packages when you update system packages in Arch Linux. Depends on Flatpak. Place file in /usr/share/libalpm/hooks
[Trigger]
Operation = Upgrade
Type = Package
Target = *
[Action]
Description = Updating Flatpak packages...
When = PostTransaction
Exec = /usr/bin/flatpak update --assumeyes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment