diff options
author | Emiel Wiedijk | 2018-03-23 17:29:30 +0100 |
---|---|---|
committer | Emiel Wiedijk | 2018-03-23 17:34:08 +0100 |
commit | 1eb42701fdd1864a5311099bc00787e9efba07d5 (patch) | |
tree | cc867c2a29be4f9abcd02f3ff621564d3318e020 | |
parent | fae4f023ce69cd5e419252dd80c2748ffbc6f4e0 (diff) | |
download | aur-1eb42701fdd1864a5311099bc00787e9efba07d5.tar.gz |
snapd - remove udev rules after uninstall
Snapd installs some udev rules (one for each snap) in /etc/udev/rules.d.
because these files are generated on the fly, they are not owned by any
package and therefore are not automatically cleaned up after removal. I think
snap-mgmt should be configured to remove them, but for now, remove them
manually in snapd.install.
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | snapd.install | 1 |
3 files changed, 3 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = snapd pkgdesc = Service and tools for management of snap packages. pkgver = 2.31.2 - pkgrel = 1 + pkgrel = 2 url = https://github.com/snapcore/snapd install = snapd.install arch = x86_64 @@ -8,7 +8,7 @@ pkgdesc="Service and tools for management of snap packages." depends=('squashfs-tools' 'libseccomp' 'libsystemd') optdepends=('bash-completion: bash completion support') pkgver=2.31.2 -pkgrel=1 +pkgrel=2 arch=('x86_64') url="https://github.com/snapcore/snapd" license=('GPL3') diff --git a/snapd.install b/snapd.install index 4bcedf17e9f9..12dfb0b04c3d 100644 --- a/snapd.install +++ b/snapd.install @@ -1,5 +1,6 @@ pre_remove() { /usr/lib/snapd/snap-mgmt --purge || : + rm -f /etc/udev/rules.d/70-snap.*.rules || true } # vim:set ts=2 sw=2 et: |