diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-09 17:44:02 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-07-09 17:44:02 +0200 |
commit | f3b15f6f26903e512d3f8462560989da3c5df6f2 (patch) | |
tree | c92daa45e2fc9880663ce1312f65307e12999be6 /src/update | |
parent | Removed limit for it is long anyway (diff) | |
download | joe-scripts-f3b15f6f26903e512d3f8462560989da3c5df6f2.tar.gz joe-scripts-f3b15f6f26903e512d3f8462560989da3c5df6f2.tar.bz2 joe-scripts-f3b15f6f26903e512d3f8462560989da3c5df6f2.tar.xz joe-scripts-f3b15f6f26903e512d3f8462560989da3c5df6f2.tar.zst joe-scripts-f3b15f6f26903e512d3f8462560989da3c5df6f2.zip |
Trying new seds
Diffstat (limited to 'src/update')
-rwxr-xr-x | src/update/gitjoe.pl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/update/gitjoe.pl b/src/update/gitjoe.pl index 9d69d61..be58fba 100755 --- a/src/update/gitjoe.pl +++ b/src/update/gitjoe.pl @@ -68,10 +68,14 @@ sub stagit_generate { system( '/usr/local/bin/dash', '-c', - "/usr/bin/sed 's/log.html/files.html/g' sedded_index.html >index.html" + "/usr/bin/sed 's/<span class=\"desc\">Repositories<\\/span>/<span class=\"desc\"><h1>Repositories<\\/h1><\\/span>' sedded_index.html >re_sedded_index.html" ); - # copy('./sedded_index.html', './index.html'); unlink('./sedded_index.html'); + system( + '/usr/local/bin/dash', + '-c', + "/usr/bin/sed 's/log.html/files.html/g' re_sedded_index.html >index.html" + ); return; } |