3 Meta
/Make gitweb
/gitweb.cgi
6 DEST
=`cd ../../index && /bin/pwd` ||
exit
10 if test -f "$DEST/gitweb.cgi"
12 diff -u "$DEST/gitweb.cgi" gitweb.cgi || differs
="g$differs"
17 if test -f "$DEST/gitweb.css"
19 diff -u "$DEST/gitweb.css" gitweb.css || differs
="s$differs"
24 if test -f "$DEST/git-favicon.png"
26 cmp "$DEST/git-favicon.png" git-favicon.png
>/dev
/null ||
36 while echo -n 'Update [y/N]? '
56 rm -f "$DEST/gitweb.cgi"
57 cp gitweb.cgi
"$DEST/gitweb.cgi"
58 chmod +x
"$DEST/gitweb.cgi"
64 rm -f "$DEST/gitweb.css"
65 cp gitweb.css
"$DEST/gitweb.css"
71 rm -f "$DEST/git-favicon.png"
72 cp git-favicon.png
"$DEST/git-favicon.png"