diff --git a/README.md b/README.md index 251e7e8..c9982c2 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,5 @@ ![](https://git.ngn.tf/ngn/4get/actions/workflows/build.yml/badge.svg) -A fork of the [4get](https://git.lolcat.ca/lolcat/4get) project, with my personal changes. +A fork of the [4get](https://git.lolcat.ca/lolcat/4get) project, with my +personal changes. diff --git a/docker/init.sh b/docker/init.sh index 21926e8..5ffb1d2 100644 --- a/docker/init.sh +++ b/docker/init.sh @@ -1,7 +1,8 @@ #!/bin/sh set -e -if [ ! -f '/var/www/html/4get/data/config.php' ] && [ -f './gen_config.php' ]; then +if [ ! -f '/var/www/html/4get/data/config.php' ] && [ -f './gen_config.php' ] +then php ./gen_config.php rm -f ./gen_config.php fi diff --git a/ups.json b/ups.json new file mode 100644 index 0000000..5758d07 --- /dev/null +++ b/ups.json @@ -0,0 +1,9 @@ +{ + "upstream": "https://git.lolcat.ca/lolcat/4get", + "provider": "gitea", + "commit": "ff8b1addf7059a8289049e937475c289e1ba407d", + "scripts": [ + "s/--- a\\//--- a\\/src\\//g", + "s/+++ b\\//+++ b\\/src\\//g" + ] +} \ No newline at end of file