From 7d0d2366d450e50370ef44224ae000f7ba311486 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Mon, 7 Jun 2010 21:04:10 +0000 Subject: MDVA-2010:068 updated drakconf on 2010.0 to cooker's version, so branch became out of sync. This commit attempts to grab the latest files from cooker to keep branch in sync. --- lib/MDV/Control_Center.pm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lib/MDV/Control_Center.pm') diff --git a/lib/MDV/Control_Center.pm b/lib/MDV/Control_Center.pm index e5dc913b..07133e93 100755 --- a/lib/MDV/Control_Center.pm +++ b/lib/MDV/Control_Center.pm @@ -31,8 +31,12 @@ our @EXPORT = qw( $bindir $sbindir $xbindir $mcc_dir $themes_dir %programs + $version ); +our ($version) = cat_("/etc/mandrakelinux-release") =~ /\b(\d+\.\d+)/; + + #------------------------------------------------------------- # paths our ($bindir, $sbindir, $xbindir) = ("/usr/bin", "/usr/sbin", "/usr/X11R6/bin"); @@ -600,6 +604,16 @@ our %programs = icon => 'rpmdrake-mdk', }, + + "Extended Maintenance" => + { + binary => "$sbindir/mdkapplet-add-media-helper --product=extended $version", + embedded => 1, + description => N("Access to extended maintenance"), + icon => 'extended_maintenance', + }, + + "Tomoyo Policy" => { binary => "$sbindir/tomoyo-gui", -- cgit v1.2.1