commit 4e5bb840da585ccd0fbb8e8a67533d2694700bf4
parent b0817ef7b54d6f0b143af83fde5a1f89a7f20c93
Author: andersuno <anders@desk.andersuno.nu>
Date: Sat, 7 May 2022 20:33:55 +0200
Corrected clone url
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-shell-commands/new-repo b/git-shell-commands/new-repo
@@ -7,7 +7,7 @@ cd /git-server/repos/$1.git
git init --bare
touch git-daemon-export-ok
echo "$2" > ./description
-echo "git.andersuno.nu/$1.git" > ./url
+echo "git://git.andersuno.nu/$1.git" > ./url
echo "andersuno" > ./owner
echo "cd /git-server/public-html/$1 && stagit /git-server/repos/$1.git" > ./hooks/post-update
echo "find /git-server/repos/ -type d -name \*.git | sort | xargs stagit-index > /git-server/public-html/index.html" >> ./hooks/post-update