summaryrefslogtreecommitdiff
path: root/src/triggers/post-compile/update-gitweb-daemon-from-options
diff options
context:
space:
mode:
authorDavid Bremner <bremner@debian.org>2020-12-25 19:08:20 -0400
committerDavid Bremner <bremner@debian.org>2020-12-25 19:08:20 -0400
commit4a01370abedf055ab073de70d5bbd583d611b0e2 (patch)
treea1af617672e26aee4c1031a3aa83e8ff08f6a0a5 /src/triggers/post-compile/update-gitweb-daemon-from-options
parent490977dcdd85924fef60165a6226c954b4537bc0 (diff)
parentf073598c5dca815a5553cebaee3d2a3f7abcbaec (diff)
Merge tag 'v3.6.12'
v3.6.12
Diffstat (limited to 'src/triggers/post-compile/update-gitweb-daemon-from-options')
-rwxr-xr-xsrc/triggers/post-compile/update-gitweb-daemon-from-options11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/triggers/post-compile/update-gitweb-daemon-from-options b/src/triggers/post-compile/update-gitweb-daemon-from-options
index 9b499b2..1f5fd26 100755
--- a/src/triggers/post-compile/update-gitweb-daemon-from-options
+++ b/src/triggers/post-compile/update-gitweb-daemon-from-options
@@ -1,5 +1,9 @@
#!/bin/sh
+# TODO: look at the commit in which *this* line was added, and see the changes
+# to the other scripts. We need to make those changes here also, but I'm too
+# lazy right now. Plus I'm not even sure if anyone is using this!
+
# Update git-daemon and gitweb access using 'option' lines instead of special
# usernames.
@@ -21,13 +25,6 @@
# This is useful for people who don't like '@all' to be literally *all* users,
# including gitweb and daemon, and can't/won't use deny-rules properly.
-# ----------------------------------------------------------------------
-# skip if arg-1 is POST_CREATE and no arg-3 (user name) exists; this means
-# it's been triggered by a *normal* (not "wild") repo creation, which in turn
-# means a POST_COMPILE should be following so there's no need to waste time
-# running this once for each new repo
-[ "$1" = "POST_CREATE" ] && [ -z "$3" ] && exit 0;
-
# first do the gitweb stuff
plf=`gitolite query-rc GITWEB_PROJECTS_LIST`