summarylogtreecommitdiffstats
path: root/snapd.install
diff options
context:
space:
mode:
authorMaciek Borzecki2017-12-08 14:42:31 +0100
committerMaciek Borzecki2017-12-08 14:42:31 +0100
commit685dd31c6629fe9632f120d3a0956fb2f7fff786 (patch)
tree5966e225f2dd4d2098736485d58b110861623e8d /snapd.install
parent198d3e60baca1808dc53a9ddacc6a4e51721a1a1 (diff)
downloadaur-685dd31c6629fe9632f120d3a0956fb2f7fff786.tar.gz
snapd-git: update packaging
Updates: - add optional dependency on bash-completion - install snap(1) manpage - disable unit tests (no need to run those on end user machines) - pre create missing directories and set proper permission bits(those would be created by snapd daemon anyway, but with incorrect permission flags) - install snapd info file (contains snapd version and revision) - use snap-mgmt for proper cleanup when uninstalling Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Diffstat (limited to 'snapd.install')
-rw-r--r--snapd.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/snapd.install b/snapd.install
index fd43f4f25caf..9dc6585b338a 100644
--- a/snapd.install
+++ b/snapd.install
@@ -22,6 +22,8 @@ _stop_services() {
pre_remove() {
_stop_services
+
+ /usr/lib/snapd/snap-mgmt --purge || :
}
pre_upgrade() {