X-Git-Url: https://vcs.fsf.org/?p=fai-configs.git;a=blobdiff_plain;f=scripts%2FIKIWIKI%2F20-setup-ikiwiki.sh;h=914b829e35ff54cd5fe02dbb28660750a2c209d5;hp=36696b2de9d7fdf44426029bdb216ac43393a015;hb=45449933089f745faccab601e6f1764d5908a66d;hpb=f4e3fe9feb55aac77f1fe62c5e58c2d7f9b02702 diff --git a/scripts/IKIWIKI/20-setup-ikiwiki.sh b/scripts/IKIWIKI/20-setup-ikiwiki.sh index 36696b2..914b829 100755 --- a/scripts/IKIWIKI/20-setup-ikiwiki.sh +++ b/scripts/IKIWIKI/20-setup-ikiwiki.sh @@ -1,13 +1,14 @@ #!/bin/sh # Detect if ikikwiki is already installed -if [ ! $ROOTCMD test -e /etc/ikiwiki/ikiwiki.setup ]; then +if ! $ROOTCMD test -e /etc/ikiwiki/ikiwiki.setup ; then # copy ikiwiki config fcopy -v /etc/ikiwiki/ikiwiki.setup # run setup $ROOTCMD sudo -u ikiwiki ikiwiki --setup /etc/ikiwiki/ikiwiki.setup + # Fix the local gitrepo + $ROOTCMD sudo -u ikiwiki ikiwiki git clone git@vcs.fsf.org:gluestick.git fi -# Fix the local gitrepo -fcopy /srv/ikiwiki/wiki.git/config +