diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-27 11:39:41 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2012-09-27 11:39:41 +0100 |
commit | 3674e1714b4203074992a42309c0245be12abc1c (patch) | |
tree | 728d8646eb74a05fb2124f7ee08f05e760fe2d9f /bins/trove-early-setup | |
parent | ef9fb4170bd21a269c5495f4e106a3c31410f35c (diff) | |
download | trove-setup-3674e1714b4203074992a42309c0245be12abc1c.tar.gz |
Ensure /home/cache/artifacts is created on setup
Diffstat (limited to 'bins/trove-early-setup')
-rwxr-xr-x | bins/trove-early-setup | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup index 92e888a..0971118 100755 --- a/bins/trove-early-setup +++ b/bins/trove-early-setup @@ -1,7 +1,7 @@ #!/usr/bin/make -f # -*- Make -*- -all: substitutions-done gitano-configured lorry-configured +all: substitutions-done gitano-configured lorry-configured cache-configured USERS := git lorry cache @@ -62,3 +62,10 @@ lorry-setup: /home/lorry/.lorry-setup touch $@ lorry-configured: lorry-setup + +cache-setup: /home/cache/.cache-setup +/home/cache/.cache-setup: $(ALL_USER_TARGETS) + su -c 'mkdir /home/cache/artifacts' - cache + touch $@ + +cache-configured: cache-setup |