From a78f187ff176cd3bd4e66f0028329e77f62e52b6 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 11 Nov 2013 10:07:04 -0800 Subject: [PATCH] fix useless cf/df in update_doc_packages --- debian/update_doc_packages | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/debian/update_doc_packages b/debian/update_doc_packages index 4e28928f7c..27aa4dc63a 100644 --- a/debian/update_doc_packages +++ b/debian/update_doc_packages @@ -10,14 +10,11 @@ use strict; use IO::File; -my $cf = $ARGV[0]; -my $df = $ARGV[1]; - my $cfh = IO::File->new("debian/control",'r') or - die "Unable to open $cf for reading: $!"; + die "Unable to open debian/control for reading: $!"; my $dfh = IO::File->new("debian/doc_languages.txt",'r') or - die "Unable to open $df for reading: $!"; + die "Unable to open debian/doc_languages.txt for reading: $!"; # read in languages my %languages; @@ -66,6 +63,8 @@ Section: doc Architecture: all Depends: \${misc:Depends}, dpkg (>= 1.15.4) | install-info${depends}${recommends} Suggests: lilypond (>= \${source:Version}) +Replaces: lilypond-doc (< 2.16.2-1~exp+1) +Breaks: lilypond-doc (< 2.16.2-1~exp+1) Description: LilyPond $uc_type Documentation in $ucfirst_long_lang LilyPond is a music typesetter, an automated engraving system. It produces beautiful sheet music using a high level description file as input. -- 2.39.2