fixed typos
[fai-configs.git] / scripts / IKIWIKI / 20-setup-ikiwiki.sh
1 #!/bin/sh
2
3 # Detect if ikikwiki is already installed
4 if ! $ROOTCMD test -e /etc/ikiwiki/ikiwiki.setup ; then
5 # copy ikiwiki config
6 fcopy -v /etc/ikiwiki/ikiwiki.setup
7
8 # run setup
9 $ROOTCMD sudo -u ikiwiki ikiwiki --setup /etc/ikiwiki/ikiwiki.setup
10 # Fix the local gitrepo
11 $ROOTCMD sudo -u ikiwiki ikiwiki git clone git@vcs.fsf.org:gluestick.git
12 fi
13
14