commit e1cd35c57a335affae93a6ce8046b42cc6e5693a
parent d45a7597cff78d87bf12f08479a19adf7e666ada
Author: krasjet <nil@krj.st>
Date: Wed, 15 Jul 2020 00:07:26 -0700
new: minor fixup
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/grm b/grm
@@ -113,11 +113,11 @@ grm_new() {
# export public repository for git daemon
if echo "$repo_public" | grep -iq "^y$"; then
echo "exporting repo for git daemon..."
- touch "$repo_path/git-daemon-export-ok"
+ : >> "$repo_path/git-daemon-export-ok"
fi
# install post-receive hook from stagit
- echo "installing stagit post-receive hook"
+ echo "installing stagit post-receive hook..."
ln -sf "$postrecv_path" "$repo_path/hooks/post-receive"
# done