Package: snapper
Version: 0.2.4-1
Severity: wishlist
One feature I read about from OpenSuSe is the ability for yast to
snapshot the system before doing package upgrades, to allow rollback and
checking what was changed during the upgrade.
What about adding a similar feature to snapper using a file in
/etc/apt/apt.conf.d/ like etckeeper is, to run snapper before and after
packages are installed and upgraded using apt?
Perhaps something like this (with more arguments, perhaps) would work?
DPkg::Pre-Invoke { "if [ -x /usr/bin/snapper ]; then /usr/bin/snapper
-t pre; fi"; };
DPkg::Post-Invoke { "if [ -x /usr/bin/snapper ]; then /usr/bin/snapper
-t post; fi"; };
--
Happy hacking
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]