chiark / gitweb /
strip out some system headers, caused trouble during my testing
[modbot-mtm.git] / install-weblinks
1 #!/bin/bash
2 set -e
3
4 . ./get-settings
5
6 install_link () {
7         rm -f $2.new
8         ln -s $1 $2.new
9         mv -f -T $2.new $2
10 }
11
12 install_link $BASEDIR/cgi              $CGISCRIPTDIR/g.$ABBREV
13 install_link $BASEDIR/cgi/logs         $CGISCRIPTDIR/l.$ABBREV
14 install_link $BASEDIR/public-html      $STATICFILESDIR/g.$ABBREV
15 install_link ../xlog/log/$GROUP/public $STATICFILESDIR/g.$ABBREV/messages