diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-16 22:41:11 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2013-09-16 22:41:11 -0300 |
commit | d83a672bcf2b7ab6fd6a19f1d0951dc71e79229c (patch) | |
tree | 118ea8147788805baa7c9d0b2c474bbc6c38457f /pcr/libcgroup/libcgroup.install | |
parent | 6ebfd7433a2d4f0b32f67f75fe9623e09311bf88 (diff) | |
parent | f56f050bb9bc078f62913e4af434c3baf3407652 (diff) |
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/srv/git/abslibre
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 +} |