diff options
Diffstat (limited to 'pcr/libcgroup/libcgroup.install')
-rw-r--r-- | pcr/libcgroup/libcgroup.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/libcgroup/libcgroup.install b/pcr/libcgroup/libcgroup.install new file mode 100644 index 000000000..a78216add --- /dev/null +++ b/pcr/libcgroup/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 +} |