diff options
author | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-08-01 10:53:29 +0200 |
---|---|---|
committer | Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org> | 2014-08-01 10:53:29 +0200 |
commit | 901f72fb91b20c15d641ca73c82e83e25534bad1 (patch) | |
tree | 70f09a5b111f964c8230330ae454e4ae500fc6fe | |
parent | ed5a19fd71ca95f09a46e37e2ab7279df8112c9b (diff) | |
download | aports-901f72fb91b20c15d641ca73c82e83e25534bad1.tar.bz2 aports-901f72fb91b20c15d641ca73c82e83e25534bad1.tar.xz |
main/umurmur: fix typo in post-deinstall
-rw-r--r-- | main/umurmur/APKBUILD | 2 | ||||
-rw-r--r-- | main/umurmur/umurmur.post-deinstall | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/main/umurmur/APKBUILD b/main/umurmur/APKBUILD index 908cfc6845..78b98178ff 100644 --- a/main/umurmur/APKBUILD +++ b/main/umurmur/APKBUILD @@ -9,7 +9,7 @@ license="Custom" depends= depends_dev= makedepends="$depends_dev libconfig-dev openssl-dev protobuf-c-dev" -install="$pkgname.post-install $pkgname-post.deinstall" +install="$pkgname.post-install $pkgname.post-deinstall" subpackages="$pkgname-doc" pkgusers="umurmur" pkggroups="umurmur" diff --git a/main/umurmur/umurmur.post-deinstall b/main/umurmur/umurmur.post-deinstall new file mode 100644 index 0000000000..9a4b18036d --- /dev/null +++ b/main/umurmur/umurmur.post-deinstall @@ -0,0 +1,7 @@ +if getent passwd umurmur >/dev/null 2>&1; then + userdel umurmur +fi + +if getent group umurmur >/dev/null 2>&1; then + groupdel umurmur +fi |