aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordvs12025-01-09 14:31:04 +1000
committerdvs12025-01-09 14:31:04 +1000
commite29a5ebab92fed878e035aa172dce2890494bc53 (patch)
tree4713e29bf39facc77bad70cf5f08264a17e212ae
parentUpdate the Foswiki URL. (diff)
downloadnotYetAnotherWiki-e29a5ebab92fed878e035aa172dce2890494bc53.zip
notYetAnotherWiki-e29a5ebab92fed878e035aa172dce2890494bc53.tar.gz
notYetAnotherWiki-e29a5ebab92fed878e035aa172dce2890494bc53.tar.bz2
notYetAnotherWiki-e29a5ebab92fed878e035aa172dce2890494bc53.tar.xz
Run the conversion scripts in the Devuan wiki's hard coded paths.
-rwxr-xr-xSuckItFos6
-rwxr-xr-xSuckItPm6
2 files changed, 10 insertions, 2 deletions
diff --git a/SuckItFos b/SuckItFos
index 66a561e..d688c95 100755
--- a/SuckItFos
+++ b/SuckItFos
@@ -10,7 +10,9 @@ filter="
10 -name TWiki -prune -o \ 10 -name TWiki -prune -o \
11" 11"
12 12
13find ../Foswiki/data ${filter} \ 13pushd /opt/merged
14
15find /opt/Foswiki/data ${filter} \
14-name "*.txt" -type f,l -printf "%P\n" | while read line 16-name "*.txt" -type f,l -printf "%P\n" | while read line
15do 17do
16 base=`echo "${line}" | cut -d '/' -f 1` 18 base=`echo "${line}" | cut -d '/' -f 1`
@@ -52,3 +54,5 @@ do
52done 54done
53 55
54notYetAnotherWiki.lua 56notYetAnotherWiki.lua
57
58popd
diff --git a/SuckItPm b/SuckItPm
index 26503f5..6a30373 100755
--- a/SuckItPm
+++ b/SuckItPm
@@ -10,7 +10,9 @@ filter="
10 -not -name ".pageindex" -a \ 10 -not -name ".pageindex" -a \
11" 11"
12 12
13find ../pmwiki/wiki.d ${filter} \ 13pushd /opt/merged
14
15find /opt/pmwiki/wiki.d ${filter} \
14-name "*.*" -type f,l -printf "%P\n" | while read line 16-name "*.*" -type f,l -printf "%P\n" | while read line
15do 17do
16 base=`echo "${line}" | cut -d '.' -f 1` 18 base=`echo "${line}" | cut -d '.' -f 1`
@@ -57,3 +59,5 @@ echo "<hr/><p><a href=\"${URL}/?n=${base}.${file}\">Original page</a> where you
57done 59done
58 60
59notYetAnotherWiki.lua 61notYetAnotherWiki.lua
62
63popd