From c743f005428f620de5feab0fd48dd5b6f3bc63ac Mon Sep 17 00:00:00 2001 From: sl Date: Fri, 2 Dec 2016 20:35:58 -0500 Subject: [PATCH] etc/initrc: change default markdown formatter from markdown.pl (no modern perl on plan 9) to md2html.awk (works everywhere) --- etc/initrc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/etc/initrc b/etc/initrc index fa7ede0..f0b26c2 100755 --- a/etc/initrc +++ b/etc/initrc @@ -9,13 +9,12 @@ # Location of your Plan 9 from User Space installation (usually /usr/local/plan9) plan9port=$PLAN9 -#plan9port=/usr/local/plan9 # If you use 9base, it should point to your 9base root, try for example: #plan9port=/usr/lib/9base # This is the default 9base install path in Debian. -# If rc is not installed as /usr/local/plan9/bin/rc you will also need to change -# the #! line in bin/werc.rc! +# If rc has not been copied to /bin/rc you will also need to change +# the #! line in bin/*.rc! # Path, make sure the plan9port /bin directory is included before /bin # Keep '.' in path! It is needed. @@ -25,14 +24,14 @@ path=($plan9port/bin . ./bin ./bin/contrib /bin /usr/bin) # takes as an argument a filter, in the default configuration markdown.pl, that # caches output) Note that some werc components assume a markdown-like # formatter, but all major functionality should should be formatter agnostic. -#formatter=(md2html.awk) -formatter=(fltr_cache markdown.pl) +#formatter=(fltr_cache markdown.pl) +formatter=(fltr_cache md2html.awk) # no perl for old men # Enable debugging, to disable set to () debug=true # Globally enabled apps -enabled_apps=( ) +enabled_apps=() # Default site variables, must be set in initrc.local or _werc/config, only siteTitle is required. #masterSite=cat-v.org # Not required!