From e29a5ebab92fed878e035aa172dce2890494bc53 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Thu, 9 Jan 2025 14:31:04 +1000 Subject: Run the conversion scripts in the Devuan wiki's hard coded paths. --- SuckItFos | 6 +++++- SuckItPm | 6 +++++- 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=" -name TWiki -prune -o \ " -find ../Foswiki/data ${filter} \ +pushd /opt/merged + +find /opt/Foswiki/data ${filter} \ -name "*.txt" -type f,l -printf "%P\n" | while read line do base=`echo "${line}" | cut -d '/' -f 1` @@ -52,3 +54,5 @@ do done notYetAnotherWiki.lua + +popd diff --git a/SuckItPm b/SuckItPm index 26503f5..6a30373 100755 --- a/SuckItPm +++ b/SuckItPm @@ -10,7 +10,9 @@ filter=" -not -name ".pageindex" -a \ " -find ../pmwiki/wiki.d ${filter} \ +pushd /opt/merged + +find /opt/pmwiki/wiki.d ${filter} \ -name "*.*" -type f,l -printf "%P\n" | while read line do base=`echo "${line}" | cut -d '.' -f 1` @@ -57,3 +59,5 @@ echo "

Original page where you done notYetAnotherWiki.lua + +popd -- cgit v1.1