19 lines
239 B
Text
19 lines
239 B
Text
|
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
|
||
|
}
|