From 50fe9e39addc7a3ce2a549660062fc7fe752e572 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 25 Mar 2015 02:50:27 -0400 Subject: [PATCH] [ci skip] Ensure we run apt-get update when installing docker On certain operating systems, this may not be called if invoking `make install` directly --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 57953d897..c05456e65 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ ifeq (vagrant-dokku,$(firstword $(MAKECMDGOALS))) $(eval $(RUN_ARGS):;@:) endif -.PHONY: all install copyfiles man-db version plugins dependencies sshcommand pluginhook docker aufs stack count dokku-installer vagrant-acl-add vagrant-dokku +.PHONY: all apt-update install copyfiles man-db version plugins dependencies sshcommand pluginhook docker aufs stack count dokku-installer vagrant-acl-add vagrant-dokku include tests.mk include deb.mk @@ -61,9 +61,12 @@ plugin-dependencies: pluginhook plugins: pluginhook docker dokku plugins-install -dependencies: sshcommand pluginhook docker help2man man-db +dependencies: apt-update sshcommand pluginhook docker help2man man-db $(MAKE) -e stack +apt-update: + apt-get update + help2man: apt-get install -qq -y help2man