Add dependency to perl-modules
[rrq/maintain_lilo.git] / debian / patches / 06_notinteractive.patch
1 Package:     lilo
2 Subject:     notinteractive for debian
3 Author:      Joachim Wiedorn <ad_debian at joonet.de>
4 Forwarded:   no
5 Last-Update: 2010-11-11
6
7 ---
8
9 diff -urN v08/src/device.c v09/src/device.c
10 --- v08/src/device.c    2010-07-03 09:36:00.637903317 +0200
11 +++ v09/src/device.c    2010-07-03 09:37:44.660354270 +0200
12 @@ -847,7 +847,9 @@
13  "This caution does not apply to Windows 95 or 98, or to NT data disks.\n"
14                                 , vm->name, MAJOR(dev), MINOR(dev), dev);
15                                         
16 -                                       
17 +    if (test)
18 +       return 0;
19 +
20      ret = yesno("\nIs the above disk an NT boot disk? ", 1);
21  
22      if (ret && fatal) {