pkgbuilds/lxc-docker/lxc-docker.install

19 lines
239 B
Text
Raw Permalink Normal View History

post_install()
{
if ! getent group docker >/dev/null; then
groupadd --system docker
fi
}
post_upgrade()
{
post_install $1
}
post_remove()
{
if getent group docker >/dev/null; then
groupdel docker
fi
}