well this one *may* work
This commit is contained in:
parent
5107f2a3a6
commit
ef26216a03
1 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ cd /var/lib/caddy/tilde/generate/
|
||||||
rm ../index.html
|
rm ../index.html
|
||||||
|
|
||||||
descs=$(./genuserdescs.scm)
|
descs=$(./genuserdescs.scm)
|
||||||
|
|
||||||
template=$(cat index.html.template)
|
template=$(cat index.html.template)
|
||||||
|
|
||||||
echo "$template" | sed s/USERDESCS/"$descs"/ > ../index.html
|
echo "${template/USERDESCS/"$descs"}" > ../index.html
|
||||||
Loading…
Add table
Add a link
Reference in a new issue