From 8390dfb64cd858d89382d2efcbaaf82c7db29777 Mon Sep 17 00:00:00 2001
From: Joachim Wiedorn <ad_debian@joonet.de>
Date: Sat, 7 May 2011 14:40:57 +0200
Subject: [PATCH] Use existing debian scripts

---
 debian/changelog                              |  1 -
 .../patches/10_disable-upstream-scripts.patch | 27 +++++++++++++++++++
 debian/patches/series                         |  1 +
 debian/patches/ubuntu.series                  |  1 +
 4 files changed, 29 insertions(+), 1 deletion(-)
 create mode 100644 debian/patches/10_disable-upstream-scripts.patch

diff --git a/debian/changelog b/debian/changelog
index fc0ba72..87e073c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,6 @@ lilo (1:23.2-1) unstable; urgency=low
   * New upstream release:
     - Fix for larger kernel setup code. (Closes: #625266)
     - Update of manpages (mkrescue.8, lilo.conf.5).
-    - Add new scripts 'liloconfig' and 'lilo-uuid-diskid'.
   * Update of some patches; remove of some patches (now in upstream).
   * debconf scripts:
     - Update of French translation (fr.po). (Closes: #621845)
diff --git a/debian/patches/10_disable-upstream-scripts.patch b/debian/patches/10_disable-upstream-scripts.patch
new file mode 100644
index 0000000..f519f54
--- /dev/null
+++ b/debian/patches/10_disable-upstream-scripts.patch
@@ -0,0 +1,27 @@
+Package:     lilo
+Subject:     disable upstream scripts
+Author:      Joachim Wiedorn <ad_debian at joonet.de>
+Forwarded:   no
+Last-Update: 2011-05-07
+
+---
+
+diff -urN s09/Makefile s10/Makefile
+--- s09/Makefile	2011-05-06 17:45:57.304713832 +0200
++++ s10/Makefile	2011-05-07 12:09:45.181057197 +0200
+@@ -109,7 +109,7 @@
+ 	$(MAKE) -C images install
+ 	$(MAKE) -C hooks install
+ 	$(MAKE) -C sample install
+-	$(MAKE) -C scripts install
++	#$(MAKE) -C scripts install
+ 	$(MAKE) -C man install
+ 	$(MAKE) -C dos install
+ 
+@@ -138,5 +138,5 @@
+ 	$(MAKE) -C images uninstall
+ 	$(MAKE) -C hooks uninstall
+ 	$(MAKE) -C sample uninstall
+-	$(MAKE) -C scripts uninstall
++	#$(MAKE) -C scripts uninstall
+ 	$(MAKE) -C man uninstall
diff --git a/debian/patches/series b/debian/patches/series
index c75961c..4710199 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 07_bad-partition-warn.patch
 08_install-also-dat-files.patch
 09_use-of-newer-debhelper.patch
+10_disable-upstream-scripts.patch
diff --git a/debian/patches/ubuntu.series b/debian/patches/ubuntu.series
index c396c3c..709710e 100644
--- a/debian/patches/ubuntu.series
+++ b/debian/patches/ubuntu.series
@@ -7,3 +7,4 @@
 07_bad-partition-warn.patch
 08_install-also-dat-files.patch
 09_use-of-newer-debhelper.patch
+10_disable-upstream-scripts.patch
-- 
2.39.5