diff options
-rwxr-xr-x | edit-urpm-sources.pl | 7 |
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 ($@) { |