[Feature Request] Support pre-invoke and post-invoke commands as DPkg::Pre-Invoke and DPkg::Post-Invoke in APT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Etckeeper requires the software management system to run custom commands before and after an operation to allow auto-commiting changes in /etc caused by the software management system.
As an example, Etckeeper creates /etc/apt/
```
DPkg::Pre-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi"; };
DPkg::Post-Invoke { "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; };
```
Please support an equivalent mechanism so that changes in /etc made by Snappy can be easily distinguish from others
Refer this forum post for more info:
https:/
description: | updated |
description: | updated |
description: | updated |
Changed in snappy: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
affects: | snappy → snapd |
Hello,
I'm also very interested by such a feature, in particular execute a script after installation, upgrade, or removal of snap applications.
Regards,