Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 38 lines (31 sloc) 669 Bytes
#!/bin/sh
WEB='www-data'
ROOT='root'
CONF='/etc/bugzilla3/gitweb.conf'
CGI='/usr/share/bugzilla3/web/gitweb.cgi'
CSS='/usr/share/bugzilla3/web/skins/standard/gitweb.css'
TMPL='/var/lib/bugzilla3/template/en/default/gitweb.html.tmpl'
#
# /etc/bugzilla3/gitweb.conf
#
cp gitweb.conf $CONF
chown $WEB.$WEB $CONF
chmod 660 $CONF
#
# /usr/share/bugzilla3/web/gitweb.cgi
#
cp gitweb.cgi $CGI
chown $ROOT.$ROOT $CGI
chmod 755 $CGI
#
# /usr/share/bugzilla3/web/skins/standard/gitweb.css
#
cp gitweb.css $CSS
chown $ROOT.$WEB $CSS
chmod 664 $CSS
#
# /var/lib/bugzilla3/template/en/default/gitweb.html.tmpl
#
cp gitweb.html.tmpl $TMPL
chown $WEB.$WEB $TMPL
chmod 644 $TMPL