From d28a1e93f4ab3db1f7dc1cd2a07abf7824ea6adf Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 6 Mar 2015 13:47:33 +0100 Subject: bootstrap secrets --- edit-secrets | 1 + 1 file changed, 1 insertion(+) (limited to 'edit-secrets') diff --git a/edit-secrets b/edit-secrets index 2c05197..51bfae8 100755 --- a/edit-secrets +++ b/edit-secrets @@ -133,6 +133,7 @@ else recipient=$($GPG --list-secret-key | grep ^sec | head -1 | awk '{print $2}' | cut -d / -f 2) save_to="`hostname --fqdn`/overlay${SECRETFILE}" + mkdir -p `dirname $save_to` echo "" ( echo "STATUS=UPDATED" -- cgit v1.1