mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
19 lines
422 B
Text
19 lines
422 B
Text
|
# arg 1: the new package version
|
||
|
post_install() {
|
||
|
# create docker group (FS#38029)
|
||
|
getent group docker >/dev/null || groupadd -g 142 docker
|
||
|
}
|
||
|
|
||
|
# arg 1: the new package version
|
||
|
# arg 2: the old package version
|
||
|
post_upgrade() {
|
||
|
(( $(vercmp $2 '1:0.7.1-1') < 0 )) && post_install "$1" || true
|
||
|
}
|
||
|
|
||
|
# arg 1: the old package version
|
||
|
post_remove() {
|
||
|
groupdel docker >/dev/null 2>&1 || true
|
||
|
}
|
||
|
|
||
|
# vim:set ts=2 sw=2 et:
|