File: viconf

package info (click to toggle)
daemon 0.6.4-1
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, squeeze, stretch, wheezy
  • size: 2,600 kB
  • ctags: 2,389
  • sloc: ansic: 28,824; sh: 3,036; perl: 594; makefile: 304
file content (11 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# edit the configuration files and keep them in sync

case "`pwd`" in
	*libslack) cd ..;;
esac

gvim -f conf/*
cp conf/* libslack/conf
perl -pi -e 's/^# daemon - http:\/\/libslack.org\/daemon\/$/# libslack - http:\/\/libslack.org\//' libslack/conf/*