diff options
-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 |