Bug 268377 - script /usr/bin/package-manager doesn't work
Summary: script /usr/bin/package-manager doesn't work
Status: RESOLVED DUPLICATE of bug 275847
Alias: None
Product: openSUSE 10.3
Classification: openSUSE
Component: libzypp (show other bugs)
Version: Alpha 3
Hardware: i686 Linux
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Martin Vidner
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 10:35 UTC by Hans Lunsing
Modified: 2007-08-20 13:58 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Lunsing 2007-04-26 10:35:49 UTC
The script /usr/bin/package-manager contains the following function:

xsu() {
    # a copy of xdg-su.
    package-manager-su -- "$@"
}

I don't use Zen but yast2. When I start package-manager without an argument I get an error message:

xdg-su: unexpected option '--'
Try 'xdg-su --help' for more information.

The cause of this error is the way package-manager-su is called from function xsu. If I change the call to

    package-manager-su -c `$@`

package-manager functions as expected by calling yast2 with the --install option.
Comment 1 Martin Vidner 2007-08-20 13:58:38 UTC
Yes, Michael already fixed it like this.

*** This bug has been marked as a duplicate of bug 275847 ***