aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--README.md4
-rwxr-xr-xinstall.sh2
-rw-r--r--static/base/himbeerlogo.png (renamed from static/himbeerlogo.png)bin18523 -> 18523 bytes
-rw-r--r--sys/etc/cgitrc6
-rwxr-xr-xuninstall.sh2
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
diff --git a/README.md b/README.md
index ed10a61..89a72a1 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/install.sh b/install.sh
index 1a3afe2..e913720 100755
--- a/install.sh
+++ b/install.sh
@@ -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
index 48751ac..48751ac 100644
--- a/static/himbeerlogo.png
+++ b/static/base/himbeerlogo.png
Binary files differ
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