diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-16 13:15:55 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-16 13:15:55 +0200 |
commit | ef174d26e10f657ba2ac091239432f18a21ca6d2 (patch) | |
tree | 243dcc60a83061d339a95d6beeb2804754087f66 /testing/consul/consul.pre-deinstall | |
parent | ab936c4354b0354d5bd4788089eb7f7dd714b8a5 (diff) | |
download | aports-ef174d26e10f657ba2ac091239432f18a21ca6d2.tar.bz2 aports-ef174d26e10f657ba2ac091239432f18a21ca6d2.tar.xz |
testing/consul: remove {post,pre}-deinstall hooks
post-deinstall:
- Removing user/group is not a good idea. You can't know if the consul
user/group has been created by the package or not; user can use it even
for something else.
pre-deinstall:
- User should decide h[ei]mself if (s)he wants to stop the service
before uninstalling, it's his/her responsibility and it should not
be handled automagically in pre-deinstall hook.
- `&>` is not POSIX-sh compatible, it's a bashism.
Diffstat (limited to 'testing/consul/consul.pre-deinstall')
-rw-r--r-- | testing/consul/consul.pre-deinstall | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/testing/consul/consul.pre-deinstall b/testing/consul/consul.pre-deinstall deleted file mode 100644 index e352a05546..0000000000 --- a/testing/consul/consul.pre-deinstall +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Stop consul service -rc-service consul stop &> /dev/null -exit 0 - |