summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-02-19 15:53:35 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-02-19 15:53:35 +0000
commitfaee102def3af597c6bcef3b9dc0a0b930188242 (patch)
treef74a1bab145a28e0b69501ae81405a04ac6b4ad9 /perl-install/standalone
parentaf6cb86455adb74b50f0b63966176bef632971a3 (diff)
downloaddrakx-backup-do-not-use-faee102def3af597c6bcef3b9dc0a0b930188242.tar
drakx-backup-do-not-use-faee102def3af597c6bcef3b9dc0a0b930188242.tar.gz
drakx-backup-do-not-use-faee102def3af597c6bcef3b9dc0a0b930188242.tar.bz2
drakx-backup-do-not-use-faee102def3af597c6bcef3b9dc0a0b930188242.tar.xz
drakx-backup-do-not-use-faee102def3af597c6bcef3b9dc0a0b930188242.zip
fix embedding and clean it up
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/printerdrake7
1 files changed, 1 insertions, 6 deletions
diff --git a/perl-install/standalone/printerdrake b/perl-install/standalone/printerdrake
index bae5ba223..aea789bf0 100755
--- a/perl-install/standalone/printerdrake
+++ b/perl-install/standalone/printerdrake
@@ -38,6 +38,7 @@ my $in = 'interactive'->vnew('su', 'printer-mdk');
my $commandline = $_;
+$::CCPID and kill 'USR2', $::CCPID;
exit 0 unless printer::printerdrake::first_time_dialog($printer, $in, 1);
{
@@ -62,10 +63,4 @@ $commandline =~ /-pdq/ and
-r '/etc/modules.conf' and modules::mergein_conf('/etc/modules.conf');
}
-begin:
-$::isEmbedded and kill 'USR2', $::CCPID;
-
printer::printerdrake::main($printer, $in, 1);
-
-$::isEmbedded ? kill('USR1', $::CCPID) : $in->exit(0);
-goto begin;