mirror of
https://github.com/genuinetools/reg.git
synced 2024-08-20 05:40:24 -04:00
21 lines
232 B
Bash
21 lines
232 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
case "$1" in
|
|
configure)
|
|
if [ -z "$2" ]; then
|
|
if ! getent group docker > /dev/null; then
|
|
groupadd --system docker
|
|
fi
|
|
fi
|
|
;;
|
|
abort-*)
|
|
# How'd we get here??
|
|
exit 1
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|