wesbarnett / snap-pac

Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST
GNU General Public License v2.0
180 stars 14 forks source link

Do a prefix match on parent_cmd for important_commands #51

Closed kshlm closed 2 years ago

kshlm commented 2 years ago

Allows important_commands to work properly for upgrades launched by Paru by setting "pacman --sync -u -- as the an important_command.

wesbarnett commented 2 years ago

I don't think this is a good idea to use a wildcard-type check like this. I suggest listing out each exact command you want in the configuration.