Hannes von Haugwitz wrote:
> diff --git a/autoscripts/postinst-ucf-function
> b/autoscripts/postinst-ucf-function
> new file mode 100644
> index 0000000..8f59fc0
> --- /dev/null
> +++ b/autoscripts/postinst-ucf-function
> @@ -0,0 +1,6 @@
> +postinst_ucf() {
> + if [ "$1" = "configure" ]; then
> + ucf #UCFOPTIONS# "$2" "$3"
> + ucfr #PACKAGE# "$3"
> + fi
> +}I don't think any debhelper autoscripts define shell functions, and so I am wary of adding that here. A for loop would have the same effect. I am also somewhat doubtful of the utility of optimising the space used by the maintainer script snippets. How many files are being registered with ucf to make this matter? Does ucf scale to that many files? What if they all got changed, does the admin have to wade through hundreds of ucf prompts? > -B<dh_ucf> [S<I<debhelper options>>] [B<-n>] > +B<dh_ucf> [S<I<debhelper options>>] [B<-n>] [B<--debconf-ok>] > [B<--three-way>] It does not seem appropriate to add individual ucf options to dh_ucf. One way that would work better would be to take all options after -- as options for ucf. I also wonder if there's any reason not to make --three-way the default, either in ucf itself, or in dh_ucf. -- see shy jo
signature.asc
Description: Digital signature

