aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-21 09:42:31 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-21 09:42:31 +0000
commit81dae6b4a5253fffafabaab21babbff32d9b0cd9 (patch)
tree492632233dfcc2fd546e8dc941258c47f837477a
parentb06c9dbea3a25fe18263b192dd9c33e8e2173d9c (diff)
downloadrpmdrake-81dae6b4a5253fffafabaab21babbff32d9b0cd9.tar
rpmdrake-81dae6b4a5253fffafabaab21babbff32d9b0cd9.tar.gz
rpmdrake-81dae6b4a5253fffafabaab21babbff32d9b0cd9.tar.bz2
rpmdrake-81dae6b4a5253fffafabaab21babbff32d9b0cd9.tar.xz
rpmdrake-81dae6b4a5253fffafabaab21babbff32d9b0cd9.zip
Software media manager should be embedded in MCC
-rwxr-xr-xedit-urpm-sources.pl7
1 files changed, 7 insertions, 0 deletions
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 ($@) {