[aur-dev] [PATCH] Minor correction in INSTALL
--- INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL b/INSTALL index d68fa26..b151e27 100644 --- a/INSTALL +++ b/INSTALL @@ -46,7 +46,7 @@ Setup on Arch Linux # mkdir /srv/http/aurweb/aur.git/ # cd /srv/http/aurweb/aur.git/ # git init --bare - # ln -s ../../git-interface/git-update.py hooks/update + # ln -s ../git-interface/git-update.py hooks/update # chown -R aur . 7) Install the git-auth wrapper script: -- 2.6.1
On Sat, 10 Oct 2015 at 18:35:57, Ian D. Scott wrote:
--- INSTALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/INSTALL b/INSTALL index d68fa26..b151e27 100644 --- a/INSTALL +++ b/INSTALL @@ -46,7 +46,7 @@ Setup on Arch Linux # mkdir /srv/http/aurweb/aur.git/ # cd /srv/http/aurweb/aur.git/ # git init --bare - # ln -s ../../git-interface/git-update.py hooks/update + # ln -s ../git-interface/git-update.py hooks/update
Could you explain this, please? The update hook is placed under /srv/http/aurweb/aur.git/hooks/update and should point to /srv/http/aurweb/aur.git/git-interface/git-update.py, so the "../../" prefix seems correct.
# chown -R aur .
7) Install the git-auth wrapper script: -- 2.6.1
If I'm not mistaken, ../../ points to /srv/http/, while ../ points to /srv/http/aurweb, which is where the git-interface directory is.
On Sat, Oct 10, 2015 at 10:59:53AM -0700, Ian D. Scott wrote:
If I'm not mistaken, ../../ points to /srv/http/, while ../ points to /srv/http/aurweb, which is where the git-interface directory is.
Wait, never mind, I was wrong. For some reason I was thinking of the first argument to ln as being relative to the current directory, while it is actually relative to the destination directory. Ignore this patch.
On Sun, 11 Oct 2015 at 00:28:35, Ian D. Scott wrote:
On Sat, Oct 10, 2015 at 10:59:53AM -0700, Ian D. Scott wrote:
If I'm not mistaken, ../../ points to /srv/http/, while ../ points to /srv/http/aurweb, which is where the git-interface directory is.
Wait, never mind, I was wrong. For some reason I was thinking of the first argument to ln as being relative to the current directory, while it is actually relative to the destination directory. Ignore this patch.
I see. Thank you anyway!
participants (2)
-
Ian D. Scott
-
Lukas Fleischer