Skip to content
This repository
Newer
Older
100644 12 lines (10 sloc) 0.44 kb
b31a690c » jonjensen
2001-07-18 Move DEV_4_7_0 development branch to repository trunk.
1 #! /bin/sh -e
2
3 . /etc/interchange/init.cfg
bcd88c7f » racke
2008-01-02 Apache 2 is now default webserver for Debian packages.
4 OPTS="--interchangeuser=$USER --linkprogram=/usr/lib/cgi-bin/ic/vlink --documentroot=$DOCROOT --catalogconf=/etc/interchange/catalogs.cfg --serverconf=/etc/apache2/apache2.conf"
fc3732c8 » racke
2005-03-02 check whether Apache2 is available and ask user for preferred webserv…
5
b31a690c » jonjensen
2001-07-18 Move DEV_4_7_0 development branch to repository trunk.
6 CMD="/usr/lib/interchange/bin/makecat $OPTS $@"
2cc3ec81 » jonjensen
2008-05-13 Convert some bash-specific syntax to standard Bourne shell (RT #194).
7 if [ "`/usr/bin/id -ru`" -eq 0 ]; then
b31a690c » jonjensen
2001-07-18 Move DEV_4_7_0 development branch to repository trunk.
8 su -s /bin/sh -c "$CMD" $USER
9 else
10 OPTS="$OPTS --nocfg --norunning"
11 /usr/lib/interchange/bin/makecat -c makecat.cfg $OPTS $@
12 fi
Something went wrong with that request. Please try again.