OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004005 [syslog_ng] packaging trivial always 2009-11-11 11:43 2009-11-13 13:16
Reporter japester View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0004005: preinstall script contains a loop bug
Description the preinstall script exits with 'line 16, fi expected'.

one line 12, there is a 'then' missing from the end of the line, which completes the for loop.


#!/bin/sh

if [ -x /usr/sbin/svcadm ]; then
  echo "Disabling svc:/system/system-log:default"
  # /usr/sbin/svcadm disable svc:/system/system-log:default
fi

# The assumption is that this script is going to be run from the global zone
# 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}" ];
    echo "Removing an obsolete file: '${f}'."
    rm -f "${f}"
  fi
done
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006969)
maciej (reporter)
2009-11-11 12:11

Updated package (REV=2009.11.11) is in testing/.
(0006981)
maciej (reporter)
2009-11-13 13:16

The updated package is available from mirrors.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker