diff options
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r-- | perl-install/standalone.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm index e001f6d2c..7e5948f22 100644 --- a/perl-install/standalone.pm +++ b/perl-install/standalone.pm @@ -9,7 +9,13 @@ $ENV{SHARE_PATH} ||= "/usr/share"; c::setlocale(); c::bindtextdomain('libDrakX', "/usr/share/locale"); - +my $i; +foreach (@ARGV) { + $i++; + $_ eq '--embedded' or next; + (undef, $::XID, $::CCPID) = splice @ARGV, ($i-1), 3; + $::isEmbedded = 1; +} ################################################################################ package pkgs_interactive; |