summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontrol-center19
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',
[