From: joey Date: Tue, 17 Aug 1999 04:48:43 +0000 (+0000) Subject: r69: Initial Import X-Git-Tag: debian_version_0_1~163 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=25f2b8ca8ec86c6a198df29927759c2644b13fe0;p=debhelper.git r69: Initial Import --- diff --git a/PROGRAMMING b/PROGRAMMING index 43e1554..dcef3ed 100644 --- a/PROGRAMMING +++ b/PROGRAMMING @@ -97,6 +97,9 @@ switch variable description those processed here), will apply to all binary packages the program acts on, not just the first +--init-script DH_INIT_SCRIPT will be set to a string, which specifies an + init script name (probably only + dh_installinit will ever use this) Any additional command line parameters that do not start with "-" will be ignored, and you can access them later just as you normally would ($1, $2, diff --git a/debian/changelog b/debian/changelog index 86b7f4a..0462cc4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +debhelper (0.71) unstable; urgency=low + + * dh_makeshlibs: -V flag was broken: if just -V was specified, + dh_makeshlibs would die. Corrected this. + * dh_lib: removed warning if the arguments passed to a debhelper command + do not apply to the main package. It's been long enough so I'm 100% sure + no packages use the old behavior. + + -- Joey Hess Mon, 9 Mar 1998 11:46:59 -0800 + debhelper (0.70) unstable; urgency=low * dh_lib: autoscript(): no longer add the modification date to the diff --git a/dh_getopt.pl b/dh_getopt.pl index e877a55..f91a42e 100755 --- a/dh_getopt.pl +++ b/dh_getopt.pl @@ -109,6 +109,8 @@ GetOptions( "all" => \$all, "no-act" => \$no_act, + + "init-script=s" => \$init_script, ); # Check to see if -V was specified. If so, but no parameters were passed, @@ -147,6 +149,7 @@ DH_M_PARAMS='$major' DH_V_FLAG='$version_info' DH_V_FLAG_SET='$version_info_set' DH_PARAMS_ALL='$all' +DH_INIT_SCRIPT='$init_script' DH_PARSE_ERROR='$parse_error' set -- @ARGV }; diff --git a/dh_installinit b/dh_installinit index 803ef81..66ebfc5 100755 --- a/dh_installinit +++ b/dh_installinit @@ -25,6 +25,8 @@ for PACKAGE in $DH_DOPACKAGES; do echo `basename $0`" warning: \"$PACKAGE\" has no final -d, but -d was specified." script=$PACKAGE fi + elif [ "$DH_INIT_SCRIPT" != "" ]; then + script=$DH_INIT_SCRIPT else script=$PACKAGE fi