[PC-BSD Commits] r16015 - in pbi/modules/sysutils: munin-master munin-master/scripts munin-node munin-node/scripts

svn at pcbsd.org svn at pcbsd.org
Mon Mar 26 07:23:15 PDT 2012


Author: kenmoore
Date: 2012-03-26 14:23:15 +0000 (Mon, 26 Mar 2012)
New Revision: 16015

Modified:
   pbi/modules/sysutils/munin-master/pbi.conf
   pbi/modules/sysutils/munin-master/scripts/post-install.sh
   pbi/modules/sysutils/munin-node/pbi.conf
   pbi/modules/sysutils/munin-node/scripts/post-install.sh
Log:
Fix a typo in the munin-master and munin-node install scripts and rebuild both



Modified: pbi/modules/sysutils/munin-master/pbi.conf
===================================================================
--- pbi/modules/sysutils/munin-master/pbi.conf	2012-03-26 13:03:14 UTC (rev 16014)
+++ pbi/modules/sysutils/munin-master/pbi.conf	2012-03-26 14:23:15 UTC (rev 16015)
@@ -7,6 +7,6 @@
 PBI_MKPORTBEFORE=""
 PBI_MKPORTAFTER=""
 PBI_MAKEOPTS=""
-PBI_BUILDKEY="01"; export PBI_BUILDKEY
+PBI_BUILDKEY="02"; export PBI_BUILDKEY
 PBI_REQUIRESROOT="YES"; export PBI_REQUIRESROOT
 export PBI_MAKEOPTS PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_MKPORTBEFORE PBI_MKPORTAFTER PBI_PROGICON PBI_MAKEPORT

Modified: pbi/modules/sysutils/munin-master/scripts/post-install.sh
===================================================================
--- pbi/modules/sysutils/munin-master/scripts/post-install.sh	2012-03-26 13:03:14 UTC (rev 16014)
+++ pbi/modules/sysutils/munin-master/scripts/post-install.sh	2012-03-26 14:23:15 UTC (rev 16015)
@@ -4,7 +4,7 @@
 sed -i.bak "s,/usr/bin/perl,${PBI_PROGDIRPATH}/bin/perl,g" ${PBI_PROGDIRPATH}/share/munin/munin-*
 
 #Make the log file directory
-if [ !-d /var/log/munin ]; then
+if [ ! -d /var/log/munin ]; then
    echo "Creating directory: /var/log/munin/" 
    mkdir /var/log/munin/
 fi

Modified: pbi/modules/sysutils/munin-node/pbi.conf
===================================================================
--- pbi/modules/sysutils/munin-node/pbi.conf	2012-03-26 13:03:14 UTC (rev 16014)
+++ pbi/modules/sysutils/munin-node/pbi.conf	2012-03-26 14:23:15 UTC (rev 16015)
@@ -8,5 +8,5 @@
 PBI_MKPORTAFTER=""
 PBI_MAKEOPTS=""
 PBI_REQUIRESROOT="YES"; export PBI_REQUIRESROOT
-PBI_BUILDKEY="01"; export PBI_BUILDKEY
+PBI_BUILDKEY="02"; export PBI_BUILDKEY
 export PBI_MAKEOPTS PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_MKPORTBEFORE PBI_MKPORTAFTER PBI_PROGICON PBI_MAKEPORT

Modified: pbi/modules/sysutils/munin-node/scripts/post-install.sh
===================================================================
--- pbi/modules/sysutils/munin-node/scripts/post-install.sh	2012-03-26 13:03:14 UTC (rev 16014)
+++ pbi/modules/sysutils/munin-node/scripts/post-install.sh	2012-03-26 14:23:15 UTC (rev 16015)
@@ -3,7 +3,7 @@
 sed -i.bak "s,/usr/bin/perl,${PBI_PROGDIRPATH}/bin/perl,g" ${PBI_PROGDIRPATH}/sbin/munin-node
 
 #Make the log file directory
-if [ !-d /var/log/munin ]; then
+if [ ! -d /var/log/munin ]; then
    echo "Creating directory: /var/log/munin/" 
    mkdir /var/log/munin/
 fi



More information about the Commits mailing list