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