From 1ab31973ab81e70cf9f29e3122914da6d38d2859 Mon Sep 17 00:00:00 2001 From: ktyl Date: Fri, 29 Apr 2022 01:38:54 +0100 Subject: [PATCH] chown capsule files to gemini user --- content/reference.gmi | 2 +- deploy.sh | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/content/reference.gmi b/content/reference.gmi index 3d0ad45..b874788 100644 --- a/content/reference.gmi +++ b/content/reference.gmi @@ -9,7 +9,7 @@ for my own reference really but do enjoy :) # fiction => https://www.mit.edu/people/dpolicar/writing/prose/text/thinkingMeat.html They're Made out of Meat [www] -=> http://www.williamflew.com/omni4d.html Newton's Gift +=> http://www.williamflew.com/omni4d.html Newton's Gift [www] # computers diff --git a/deploy.sh b/deploy.sh index 1b427df..4827465 100644 --- a/deploy.sh +++ b/deploy.sh @@ -9,13 +9,14 @@ sudo rm -rv $dest/* # copy received files to hosting location sudo rsync -rvP $site/* $dest +sudo chown -R gemini:gemini $dest/* # clean up rm -rv $site # delete self -rm deploy.sh +rm -v deploy.sh -printf "\ndone!" +echo "\ndone!"