aboutsummaryrefslogtreecommitdiffstats
path: root/src/update
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-07-09 17:44:02 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-07-09 17:44:02 +0200
commitf3b15f6f26903e512d3f8462560989da3c5df6f2 (patch)
treec92daa45e2fc9880663ce1312f65307e12999be6 /src/update
parentRemoved limit for it is long anyway (diff)
downloadjoe-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-xsrc/update/gitjoe.pl8
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;
}