[csw-devel] SF.net SVN: gar:[7218] csw/mgar/pkg/syslog_ng/trunk/files

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Nov 11 11:47:50 CET 2009


Revision: 7218
          http://gar.svn.sourceforge.net/gar/?rev=7218&view=rev
Author:   wahwah
Date:     2009-11-11 10:47:49 +0000 (Wed, 11 Nov 2009)

Log Message:
-----------
syslog-ng: A bugfix for the preinstall script, http://www.opencsw.org/bugtrack/view.php?id=4005

Modified Paths:
--------------
    csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.postremove
    csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.preinstall

Property Changed:
----------------
    csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.postremove
    csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.preinstall

Modified: csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.postremove
===================================================================
--- csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.postremove	2009-11-11 10:23:18 UTC (rev 7217)
+++ csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.postremove	2009-11-11 10:47:49 UTC (rev 7218)
@@ -1,4 +1,7 @@
 #!/bin/sh
+# 
+# $Id$
+#
 
 if [ -x /usr/sbin/svcadm ]; then
   echo "Enabling svc:/system/system-log:default"


Property changes on: csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.postremove
___________________________________________________________________
Added: svn:keywords
   + Id

Modified: csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.preinstall
===================================================================
--- csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.preinstall	2009-11-11 10:23:18 UTC (rev 7217)
+++ csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.preinstall	2009-11-11 10:47:49 UTC (rev 7218)
@@ -1,4 +1,7 @@
 #!/bin/sh
+#
+# $Id$
+#
 
 if [ -x /usr/sbin/svcadm ]; then
   echo "Disabling svc:/system/system-log:default"
@@ -9,8 +12,10 @@
 # first. The -f option is for the rm command not to complain if it can't remove
 # the file.
 for f in /opt/csw/var/syslog-ng.{ctl,persist}; do
-  if [ -r "${f}" ];
+  if [ -r "${f}" ]; then
     echo "Removing an obsolete file: '${f}'."
     rm -f "${f}"
   fi
 done
+
+exit 0


Property changes on: csw/mgar/pkg/syslog_ng/trunk/files/CSWsyslogng.preinstall
___________________________________________________________________
Added: svn:keywords
   + Id


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list