327ff88beec312bb0c6b018c03ac161cd7edf219
3 # Git maintenance script, run by cron.
5 # Update symlinks to user git repo locations.
6 find /afs
/hcoop.net
/user
-mindepth 3 -maxdepth 3 -noleaf -exec \
7 sh
-c "test -e {}/.hcoop-git && \
8 ln -s {}/.hcoop-git/ /var/cache/git/\$(basename {}) 2>/dev/null" \
;
10 # Update cache of front page.
11 cache
=/var
/local
/lib
/gitweb
/indexcache.html
12 wget
-q -O $cache.tmp
'http://git.hcoop.net/test?nocache=y'