github.com/ojongerius/docker@v1.11.2/hack/make/.build-deb/docker-engine.postinst (about) 1 #!/bin/sh 2 set -e 3 4 case "$1" in 5 configure) 6 if [ -z "$2" ]; then 7 if ! getent group docker > /dev/null; then 8 groupadd --system docker 9 fi 10 fi 11 ;; 12 abort-*) 13 # How'd we get here?? 14 exit 1 15 ;; 16 *) 17 ;; 18 esac 19 20 #DEBHELPER#