fixed scripts to copy more files
[fai-configs.git] / scripts / IKIWIKI / 20-setup-ikiwiki.sh
... / ...
CommitLineData
1#!/bin/sh
2
3# Detect if ikikwiki is already installed
4if ! $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
10fi
11
12# Fix the local gitrepo
13fcopy /srv/ikiwiki/wiki.git/config