wesbarnett / snap-pac

Pacman hooks that use snapper to create pre/post btrfs snapshots like openSUSE's YaST

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a way for the user to customize which pacman operations interact with the snapshots

opened this issue · comments

Currently, with this package installed, the hooks will create snapshots for every single package transaction, and while this behavior can be changed by directly editing the hook settings, this gets in the way of upgrades. + Managing this with env variables seems better in my opinion.

There's already SNAP_PAC_SKIP environment variable, so there could be another three that are SNAP_PAC_{UPGRADE,INSTALL,REBOOT}_SKIP that do this.