diff options
author | Christian Hesse | 2015-06-30 13:39:06 +0200 |
---|---|---|
committer | Christian Hesse | 2015-06-30 13:39:06 +0200 |
commit | 293087c82ada9ae6ffd2682a63f1976a61e700f9 (patch) | |
tree | 327594a82c49de0d69dcaad6e5f25d1768790001 /libcgroup.install | |
download | aur-293087c82ada9ae6ffd2682a63f1976a61e700f9.tar.gz |
initial import of libcgroup 0.41-2
Diffstat (limited to 'libcgroup.install')
-rw-r--r-- | libcgroup.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libcgroup.install b/libcgroup.install new file mode 100644 index 000000000000..a78216addc5f --- /dev/null +++ b/libcgroup.install @@ -0,0 +1,11 @@ +post_install() { + getent group cgred &>/dev/null || groupadd -r -g 160 cgred >/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + getent group cgred &>/dev/null && groupdel cgred >/dev/null +} |