added rsyslog- & syslog-ng to FAIBASE and altere ikiwiki a bit
authorstephen mahood <mv@fsf.org>
Mon, 22 Dec 2014 18:14:16 +0000 (13:14 -0500)
committerstephen mahood <mv@fsf.org>
Mon, 22 Dec 2014 18:14:16 +0000 (13:14 -0500)
package_config/FAIBASE
package_config/IKIWIKI
scripts/IKIWIKI/20-setup-ikiwiki [new file with mode: 0644]
scripts/IKIWIKI/30-setup-directory [new file with mode: 0644]

index a6cfe20..ac1aece 100644 (file)
@@ -26,4 +26,6 @@ pciutils usbutils
 lvm2
 git
 manpages
 lvm2
 git
 manpages
-man-db
\ No newline at end of file
+man-db
+rsyslogd-
+syslog-ng
index 438385a..3cc47c4 100644 (file)
@@ -5,4 +5,5 @@ libdatetime-format-dateparse-perl
 ikiwiki
 gcc
 libc-dev
 ikiwiki
 gcc
 libc-dev
-
+librpc-xml-perl
+python-docutils
diff --git a/scripts/IKIWIKI/20-setup-ikiwiki b/scripts/IKIWIKI/20-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
diff --git a/scripts/IKIWIKI/30-setup-directory b/scripts/IKIWIKI/30-setup-directory
new file mode 100644 (file)
index 0000000..d46ed17
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+$ROOTCMD mkdir /srv/git # create the git source directory
+
+$ROOTCMD mv /root/gluestick.git /srv/git/ # move the git source to the new directory
+$ROOTCMD mv /root/public_html/gluestick /var/www/html # move the public html files to the var location
+$ROOTCMD mv /root/gluestick /srv/  # move the source into location
+
+