File: servertweaks.sed

package info (click to toggle)
moin 1.9.9-1+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 76,024 kB
  • sloc: python: 143,896; java: 10,704; php: 2,385; perl: 1,574; xml: 371; makefile: 214; sh: 81; sed: 5
file content (8 lines) | stat: -rw-r--r-- 447 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
### This is sed code: "s" lines must end with a tab! ###
# Also beware of leading spaces in some text strings...

# This file is used for all server scripts

# Enable system-wide farmconfig, and avoid wikiconfig
s	^\([[:space:]\#]*\)\(sys.path.insert([[:digit:]]\+,[[:space:]]\+\)'/path/to/wikiconfigdir'\().*\)	#\2'/etc/moin'\3	
s	^\([[:space:]\#]*\)\(sys.path.insert([[:digit:]]\+,[[:space:]]\+\)'/path/to/farmconfigdir'\().*\)	\2'/etc/moin'\3