From 81dae6b4a5253fffafabaab21babbff32d9b0cd9 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Mon, 21 Nov 2005 09:42:31 +0000 Subject: Software media manager should be embedded in MCC --- edit-urpm-sources.pl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'edit-urpm-sources.pl') diff --git a/edit-urpm-sources.pl b/edit-urpm-sources.pl index 6ffb3f1b..b62ca749 100755 --- a/edit-urpm-sources.pl +++ b/edit-urpm-sources.pl @@ -30,6 +30,13 @@ use URPM::Signature; use POSIX qw(_exit); use MDK::Common qw(max); +BEGIN { #- for mcc + if ("@ARGV" =~ /--embedded (\w+)/) { + $::XID = $1; + $::isEmbedded = 1; + } +} + BEGIN { eval { require ugtk2; ugtk2->import(qw(:all)) }; if ($@) { -- cgit v1.2.1