From: Wichert Akkerman Date: Tue, 26 Sep 2000 20:09:34 +0000 (+0000) Subject: don't print version twice on --help X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99670d217e5a89c6febc4ca6b9316ef6708f412e;p=dpkg don't print version twice on --help --- diff --git a/ChangeLog b/ChangeLog index 140d49f6..64269cc2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 25 16:19:05 CEST 2000 Wichert Akkerman + + * scripts/dpkg-divert.pl: don't print version twice on --help + Thu Sep 21 16:29:32 CEST 2000 Wichert Akkerman * debian/shlibs-default.template: removed diff --git a/scripts/dpkg-divert.pl b/scripts/dpkg-divert.pl index e7b78ebe..f176d8fb 100755 --- a/scripts/dpkg-divert.pl +++ b/scripts/dpkg-divert.pl @@ -13,10 +13,9 @@ sub showversion { sub usage { &showversion; - print(STDERR <.distrib. When removing, --package or --local and --divert must match if specified. Package preinst/postrm scripts should always specify --package and --divert. -END +EOF || &quit("failed to write usage: $!"); }