added pumpa and pidgin-libnotify
[fai-configs.git] / scripts / IKIWIKI / 30-setup-ikiwiki
diff --git a/scripts/IKIWIKI/30-setup-ikiwiki b/scripts/IKIWIKI/30-setup-ikiwiki
new file mode 100644 (file)
index 0000000..76c77d9
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# Detect if ikikwiki is already installed
+if [ ! -e /etc/ikiwiki/ikiwiki.setup ]; then
+ # copy ikiwiki config
+ fcopy -v /etc/ikiwiki/ikiwiki.setup
+
+ # run setup
+ $ROOTCMD ikiwiki --setup /etc/ikiwiki/ikiwiki.setup/DEFAULT
+fi