summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorTill Kamppeter <tkamppeter@mandriva.com>2005-09-06 14:52:11 +0000
committerTill Kamppeter <tkamppeter@mandriva.com>2005-09-06 14:52:11 +0000
commit2e6cb6fe93b2ac0c4aeff502959a15d8f92522f3 (patch)
tree6cf25f75ca810ffa129e7f2c9c3805590f4286e4 /perl-install
parent3ff7f512e81f7e923f379b8dc7d2cd42cc170cb6 (diff)
downloaddrakx-backup-do-not-use-2e6cb6fe93b2ac0c4aeff502959a15d8f92522f3.tar
drakx-backup-do-not-use-2e6cb6fe93b2ac0c4aeff502959a15d8f92522f3.tar.gz
drakx-backup-do-not-use-2e6cb6fe93b2ac0c4aeff502959a15d8f92522f3.tar.bz2
drakx-backup-do-not-use-2e6cb6fe93b2ac0c4aeff502959a15d8f92522f3.tar.xz
drakx-backup-do-not-use-2e6cb6fe93b2ac0c4aeff502959a15d8f92522f3.zip
- Fixed endless loop when clicking "Back" in model selection, when by
autodetection no model was found.
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/printer/printerdrake.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/printer/printerdrake.pm b/perl-install/printer/printerdrake.pm
index ed342a052..1950f14c2 100644
--- a/perl-install/printer/printerdrake.pm
+++ b/perl-install/printer/printerdrake.pm
@@ -5317,7 +5317,8 @@ sub add_printer {
choose_model($printer, $in) or do {
# Restore DB entry
$printer->{DBENTRY} = $dbentry;
- goto step_3_9 if $printer->{MANUALMODEL};
+ goto step_3_9 if $printer->{MANUALMODEL} &&
+ $printer->{DBENTRY};
goto step_2;
};
}