diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | install.sh | 2 | ||||
-rw-r--r-- | static/base/himbeerlogo.png (renamed from static/himbeerlogo.png) | bin | 18523 -> 18523 bytes | |||
-rw-r--r-- | sys/etc/cgitrc | 6 | ||||
-rwxr-xr-x | uninstall.sh | 2 |
6 files changed, 10 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e6cf993 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +static/base/cgit.css @@ -9,8 +9,8 @@ No JavaScript is used, but there is a global CSS stylesheet. The `sys` directory contains the filesystem structure to copy to the rootfs. This repository should be cloned to `/srv/www`. -The `install.sh` script contains symlinks for configuration files to `/srv/www`, -overwriting existing files. +The `install.sh` script creates symlinks for configuration files to `/srv/www` +and the cgit stylesheet, overwriting existing files. The `uninstall.sh` script removes them again without restoring the original files. ## Required system packages @@ -5,3 +5,5 @@ source /srv/www/lib.sh for FILE in ${FILES}; do ln -sf "/srv/www/sys/${FILE}" "/${FILE}" done + +ln -sf /usr/share/webapps/cgit/cgit.css /srv/www/static/base/cgit.css diff --git a/static/himbeerlogo.png b/static/base/himbeerlogo.png Binary files differindex 48751ac..48751ac 100644 --- a/static/himbeerlogo.png +++ b/static/base/himbeerlogo.png diff --git a/sys/etc/cgitrc b/sys/etc/cgitrc index 34113a6..a764f3e 100644 --- a/sys/etc/cgitrc +++ b/sys/etc/cgitrc @@ -1,6 +1,6 @@ -css=/usr/share/websapps/cgit/cgit.css -logo=/srv/www/static/himbeerlogo.png -favicon=/srv/www/static/favicon.ico +css=/base/cgit.css +logo=/base/himbeerlogo.png +favicon=/favicon.ico enable-index-links=1 enable-index-owner=0 diff --git a/uninstall.sh b/uninstall.sh index 9ff5f45..c6cccbb 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -5,3 +5,5 @@ source /srv/www/lib.sh for FILE in ${FILES}; do rm "/${FILE}" done + +rm /srv/www/static/base/cgit.css |