diff options
author | Himbeer <himbeerserverde@gmail.com> | 2024-02-17 19:04:09 +0100 |
---|---|---|
committer | Himbeer <himbeerserverde@gmail.com> | 2024-02-17 19:04:09 +0100 |
commit | 6d14934b062373db05ca535325d73a7bcbc43b95 (patch) | |
tree | a510ef7b236e74b7f290284d4bb6de0b497fe16d | |
parent | 0d2e0a23ec95de6ffd2e7d67a39e69fa2f5b288d (diff) |
copy cgit.css instead of symlinking it
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | install.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -10,7 +10,7 @@ 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 creates symlinks for configuration files to `/srv/www` -and the cgit stylesheet, overwriting existing files. +and copies the cgit stylesheet to the base directory, overwriting existing files. The `uninstall.sh` script removes them again without restoring the original files. ## Required system packages @@ -6,4 +6,4 @@ 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 +cp -p /usr/share/webapps/cgit/cgit.css /srv/www/static/base/cgit.css |