aboutsummaryrefslogtreecommitdiffstats
path: root/edit-urpm-sources.pl
diff options
context:
space:
mode:
Diffstat (limited to 'edit-urpm-sources.pl')
-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 ($@) {