Package: debhelper Version: 8.1.3 Severity: minor Tags: patch Hello,
I noticed four occurrences where the man page of a command talks about postrm while the actual command modifies prerm (and other combinations). Attached is a git patch that corrects this. Regards, -- Jeroen Schot
>From 324d37f1832c336fdff0cec37612fd0f48986eb0 Mon Sep 17 00:00:00 2001 From: Jeroen Schot <sc...@a-eskwadraat.nl> Date: Fri, 22 Apr 2011 14:05:42 +0200 Subject: [PATCH] Typo's in documentation regarding {pre,post}{inst,rm} --- dh_installmodules | 4 ++-- dh_installudev | 2 +- dh_installwm | 4 ++-- dh_python | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dh_installmodules b/dh_installmodules index bee1072..9b3fc20 100755 --- a/dh_installmodules +++ b/dh_installmodules @@ -21,7 +21,7 @@ B<dh_installmodules> is a debhelper program that is responsible for registering kernel modules. Kernel modules are searched for in the package build directory and if -found, F<postinst> and F<postrm> commands are automatically generated to +found, F<preinst>, F<postinst> and F<postrm> commands are automatically generated to run B<depmod> and register the modules when the package is installed. These commands are inserted into the maintainer scripts by L<dh_installdeb(1)>. @@ -47,7 +47,7 @@ and B<dh_installmodules> will warn if these files are present. =item B<-n>, B<--noscripts> -Do not modify F<postinst>/F<postrm> scripts. +Do not modify F<preinst>/F<postinst>/F<postrm> scripts. =item B<--name=>I<name> diff --git a/dh_installudev b/dh_installudev index f7e46a2..fa369a0 100755 --- a/dh_installudev +++ b/dh_installudev @@ -48,7 +48,7 @@ Sets the priority string of the F<rules.d> symlink. Default is 60. =item B<-n>, B<--noscripts> -Do not modify F<postinst>/F<postrm> scripts. +Do not modify F<preinst>/F<postinst> scripts. =back diff --git a/dh_installwm b/dh_installwm index bebd4e2..a0f5f70 100755 --- a/dh_installwm +++ b/dh_installwm @@ -16,7 +16,7 @@ B<dh_installwm> [S<I<debhelper options>>] [B<-n>] [B<--priority=>I<n>] [S<I<wm> =head1 DESCRIPTION B<dh_installwm> is a debhelper program that is responsible for -generating the F<postinst> and F<postrm> commands that register a window manager +generating the F<postinst> and F<prerm> commands that register a window manager with L<update-alternatives(8)>. The window manager's man page is also registered as a slave symlink (in v6 mode and up), if it is found in F<usr/share/man/man1/> in the package build directory. @@ -43,7 +43,7 @@ calculating the correct value. =item B<-n>, B<--noscripts> -Do not modify F<postinst>/F<postrm> scripts. Turns this command into a no-op. +Do not modify F<postinst>/F<prerm> scripts. Turns this command into a no-op. =item I<wm> ... diff --git a/dh_python b/dh_python index 6f6689a..f86c9ae 100755 --- a/dh_python +++ b/dh_python @@ -59,7 +59,7 @@ such as B<2.3>. Do not use if you ship modules in F</usr/lib/site-python>. =item B<-n>, B<--noscripts> -Do not modify F<postinst>/F<postrm> scripts. +Do not modify F<postinst>/F<prerm> scripts. =back -- 1.7.2.5