Description of problem: Deinstallation of vixie-cron shows an error, bug in preuninstall scriptlet in spec file Version-Release number of selected component (if applicable): vixie-cron-3.0.1-69.i386.rpm How reproducible: Always Steps to Reproduce: 1. rpm -e vixie-cron Actual Results: # rpm -e vixie-cron /var/tmp/rpm-tmp.69851: line 2: [: missing `]' Expected Results: Not such problem Additional info: preuninstall scriptlet (through /bin/sh): if [ "$1" = 0 ]; then [ -f /var/lock/subsys/crond] && /sbin/service crond stop >/dev/null 2>&1 /sbin/chkconfig --del crond fi Fix: - [ -f /var/lock/subsys/crond] && /sbin/service crond stop >/dev/null 2>&1 + [ -f /var/lock/subsys/crond ] && /sbin/service crond stop >/dev/null 2>&1
Thanks for the report. Should be fixed in 3.0.1-74. Please confirm.