stagit (394B)
1 #! /bin/sh 2 3 reponame="$(basename "$(pwd)" .git)" 4 5 echo "Michael Savage" > owner 6 mkdir -p "/var/www/git/$reponame" 7 cd "/var/www/git/$reponame" 8 ln -sf ../style.css . 9 10 stagit "/var/git/repositories/$reponame.git/" -c .htmlcache 11 stagit-index $($GL_ADMIN_BASE/local/find_stagits.lua) > /var/www/git/index.html 12 13 find . -type f -print0 | xargs -0 chmod 644 14 find . -type d -print0 | xargs -0 chmod 755