diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-08 00:08:19 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-03-08 00:10:35 +0100 |
commit | 7b55d5a64c232494128e1f474de5230d84e9e92b (patch) | |
tree | 2bbb5e15c3f5dd27ca143be0145f3bc1e6ba3382 /testing | |
parent | 490c3b88f2206853708cb5ea908c33bd10bfb685 (diff) | |
download | aports-7b55d5a64c232494128e1f474de5230d84e9e92b.tar.bz2 aports-7b55d5a64c232494128e1f474de5230d84e9e92b.tar.xz |
testing/logstash: do not deluser in post-deinstall
This is very bad practice, we can't know if the package user has been
originally created by apk or by the user and if the user needs
it or not.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/logstash/APKBUILD | 4 | ||||
-rw-r--r-- | testing/logstash/logstash.post-deinstall | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/testing/logstash/APKBUILD b/testing/logstash/APKBUILD index 58327b519a..69a16c9807 100644 --- a/testing/logstash/APKBUILD +++ b/testing/logstash/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=logstash pkgver=1.4.2 -pkgrel=1 +pkgrel=2 pkgdesc="A flexible, open source, data collection, parsing and enrichment pipeline" url="http://logstash.net" arch="noarch" @@ -10,7 +10,7 @@ license="apache" depends="openjdk7-jre-base" depends_dev="" makedepends="$depends_dev" -install="$pkgname.pre-install $pkgname.post-deinstall" +install="$pkgname.pre-install" pkgusers="logstash" subpackages="" source=" diff --git a/testing/logstash/logstash.post-deinstall b/testing/logstash/logstash.post-deinstall deleted file mode 100644 index 0a9222b093..0000000000 --- a/testing/logstash/logstash.post-deinstall +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -deluser logstash 2>/dev/null - -exit 0 |