diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-12 18:12:10 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-12 18:12:10 +0000 |
commit | 94881b97e90c2176360a7801c8ede8b747e93b79 (patch) | |
tree | f990f16b53e5be3fe0a7c89a441335bac9038254 | |
parent | 8ac86cc0b0752ddd36135b41569a6cf363bfc152 (diff) | |
download | control-center-94881b97e90c2176360a7801c8ede8b747e93b79.tar control-center-94881b97e90c2176360a7801c8ede8b747e93b79.tar.gz control-center-94881b97e90c2176360a7801c8ede8b747e93b79.tar.bz2 control-center-94881b97e90c2176360a7801c8ede8b747e93b79.tar.xz control-center-94881b97e90c2176360a7801c8ede8b747e93b79.zip |
add park-rpmdrake entry
-rwxr-xr-x | control-center | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/control-center b/control-center index a052be86..a441e388 100755 --- a/control-center +++ b/control-center @@ -94,6 +94,7 @@ gtkflush(); my $isWiz = -e "/usr/sbin/drakwizard"; my $isRpmDrake = -e "/usr/sbin/rpmdrake"; +my $isParkRpmDrake = -e "/usr/sbin/park-rpmdrake"; my $isWebAdmin = -e "/usr/bin/mdkwebadmin"; # { key => [ log_exp, binary, gtkplug?, description ] } @@ -124,6 +125,7 @@ my $exec_hash = "Install Software" => [ "rpmdrake", "$sbindir/rpmdrake", -1, N("Install") ], "Keyboard" => [ "keyboarddrake", "$sbindir/keyboarddrake", 1, N("Keyboard") ], "Logs" => [ "logdrake", "$sbindir/logdrake", 1, N("Logs") ], + "Manage park" => [ "rpmdrake", "$sbindir/park-rpmdrake", 1, N("Manage park") ], "Mandrake Update" => [ "rpmdrake", "$sbindir/MandrakeUpdate", -1, N("Updates") ], "Menus" => [ "menudrake", "$bindir/menudrake", -1, N("Menus"), "$bindir/menudrake" ], "Monitor" => [ "XFdrake", "$sbindir/XFdrake monitor", 1, N("Monitor") ], @@ -232,15 +234,18 @@ my @tree = # [ "RFBDrake", 'unknown-mdk' ], ] ], - if_($isRpmDrake, + if_($isRpmDrake || $isParkRpmDrake, [ N("Software Management"), 'software', [ - [ "Install Software", 'rpmdrake' ], - [ "Remove Software", 'rpmdrake-remove' ], - [ "Mandrake Update", 'MandrakeUpdate' ], - [ "Software Media Manager", 'source-manager' ], - ] - ]), + if_($isRpmDrake, + [ "Install Software", 'rpmdrake' ], + [ "Remove Software", 'rpmdrake-remove' ], + [ "Mandrake Update", 'MandrakeUpdate' ], + [ "Software Media Manager", 'source-manager' ], + ), + if_($isParkRpmDrake, [ "Manage park", 'source-manager' ]), + ] + ]), if_($isWiz, [ N("Server wizards"), 'wizard-mdk', [ |