summarylogtreecommitdiffstats
path: root/kathara.install
blob: a0eaa473e6445ac5099c2c96b166e903251db603 (plain)
1
2
3
4
5
6
7
8
9
10
post_install() {
    if [ $(getent group docker) ]; then
        chown root:docker /usr/lib/kathara/kathara
    fi
    chmod g+s /usr/lib/kathara/kathara
}

pre_remove() {
    /usr/lib/kathara/kathara wipe -f -a 2> /dev/null || true
}