From: Mario Rimann Date: Thu, 5 Jul 2012 10:43:22 +0000 (+0200) Subject: Extended the installation description X-Git-Tag: gitweb-1.7.12~2^2^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1c682c2253ec0dcf763d190ca821379595665851;p=m6w6%2Fgitweb-theme Extended the installation description Now explaining how to move away the existing files and instead using symlinks to the checked out clone of the theme. --- diff --git a/README.rst b/README.rst index 7597e99..50415b6 100644 --- a/README.rst +++ b/README.rst @@ -9,10 +9,16 @@ Fullsize screenshots available on `kogakure.github.com/gitweb-theme`_. Installation ============ -The installation of this stylesheet is very easy. +The installation of this stylesheet is very easy: -Just copy the CSS-file `gitweb.css` into the gitweb folder. Best practise -would be to rename the old file, in case you want to switch back. +Just clone the repository to a location of your choice, probably into the same directory where the base gitweb stylesheet is located (in Ubuntu, this is e.g. /usr/share/gitweb/). It's recommended to move away the existing files and then create symlinks to the new files. You can do this with the following few commands:: + + cd + mv gitweb.css gitweb_original.css + mv gitweb.js gitweb_original.js + git clone git://github.com/kogakure/gitweb-theme.git + ln -s gitweb-theme/gitweb.css gitweb.css + ln -s gitweb-theme/gitweb.js gitweb.js If you see some missing things or errors, please post a comment.