fix: handle case where modprobe does not exist
This is possible when installing dokku within a docker image.
This commit is contained in:
1 parent
b0b036549a
commit
6b42fde028
1 file changed
+3
-1
Vendored
+3
-1
@@ -33,7 +33,9 @@ case "$1" in
|
|||||||
configure)
|
configure)
|
||||||
mandb
|
mandb
|
||||||
[ ! -x /usr/bin/docker.io ] || ln -sf /usr/bin/docker.io /usr/local/bin/docker
|
[ ! -x /usr/bin/docker.io ] || ln -sf /usr/bin/docker.io /usr/local/bin/docker
|
||||||
modprobe aufs || echo "WARNING: Restart server to finish installing dokku!"
|
if [[ -f /sbin/modprobe ]]; then
|
||||||
|
modprobe aufs || echo "WARNING: Restart server to finish installing dokku!"
|
||||||
|
fi
|
||||||
call-sshcommand create dokku /usr/bin/dokku
|
call-sshcommand create dokku /usr/bin/dokku
|
||||||
|
|
||||||
egrep -i "^docker" /etc/group || groupadd docker
|
egrep -i "^docker" /etc/group || groupadd docker
|
||||||
|
|||||||
Reference in new issue
Block a user