Bug 120413 - Bug in udev uninstall script
Summary: Bug in udev uninstall script
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-08 15:12 UTC by Albert Strasheim
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2004-04-21 14:03:48 UTC


Attachments (Terms of Use)

Description Albert Strasheim 2004-04-08 15:12:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312

Description of problem:
When the udev RPM is uninstalled, an error message is displayed. It
looks like a bug in the uninstall scripts:

/var/tmp/rpm-tmp.64958: line 1: [: missing `]'

Version-Release number of selected component (if applicable):
udev-023-1

How reproducible:
Always

Steps to Reproduce:
1. Uninstall udev

Actual Results:  Uninstall script encounters an error

Expected Results:  Uninstall script should work without an error
message being displayed

Additional info:

Comment 1 Forrest 2004-04-12 20:22:14 UTC
For what it is worth, it is a space in the preuninstall scriptlet:

if [ $1 = 0 -a -f /etc/rc.d/init.d/udev];then

should be:

if [ $1 = 0 -a -f /etc/rc.d/init.d/udev ];then

Comment 2 Harald Hoyer 2004-04-21 14:03:48 UTC
fixed


Note You need to log in before you can comment on or make changes to this bug.