diff options
| author | Paul Buetow <paul@buetow.org> | 2023-09-26 21:31:52 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-09-26 21:31:52 +0300 |
| commit | c4ac27583204ddf9a1a93f2d69dddbac1a5cb852 (patch) | |
| tree | 1e52e741b53519fb3e68b4ef7572a86817f963a0 /frontends/scripts | |
| parent | a64270d584bd957bf73b57c9f61c58e37a828c77 (diff) | |
rename
Diffstat (limited to 'frontends/scripts')
| -rw-r--r-- | frontends/scripts/gemtexter.sh.tpl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/frontends/scripts/gemtexter.sh.tpl b/frontends/scripts/gemtexter.sh.tpl index 50e19dd..09108db 100644 --- a/frontends/scripts/gemtexter.sh.tpl +++ b/frontends/scripts/gemtexter.sh.tpl @@ -35,6 +35,7 @@ function ensure_links { parent=$(dirname $dir) cd $parent + if [ ! -e $target ]; then ln -s $basename $target fi @@ -45,7 +46,7 @@ function ensure_links { } <% if ($is_primary->($vio0_ip)) { %> -for site in foo.zone paul.cyou; do +for site in foo.zone paul.buetow.org; do ensure_site \ /var/gemini/$site \ https://codeberg.org/snonux/$site \ @@ -56,8 +57,8 @@ for site in foo.zone paul.cyou; do content-html done -ensure_links /var/gemini/paul.cyou buetow.org -ensure_links /var/gemini/paul.cyou paul.buetow.org -ensure_links /var/gemini/paul.cyou snonux.foo +ensure_links /var/gemini/paul.buetow.org buetow.org +ensure_links /var/gemini/paul.buetow.org paul.cyou +ensure_links /var/gemini/paul.buetow.org snonux.foo <% } %> |
