[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: re-asked papersize



On Wed, 12 Dec 2001, Richard Kettlewell wrote:

>     Preconfiguring packages ...
>     Paper Size Configuration
>     ------------------------
>
>     Here you can select which paper size to use as the default on your system.
>     Various programs on your system will use this to determine how to print output.
>      If in doubt, simply select the "letter" option if you're in North America, and
>     "a4" otherwise.
>
>       1. letter         9. statement  17. a2   25. b0  33. Comm10   41. flse
>       2. a4             10. folio     18. a3   26. b1  34. Monarch  42. csheet
>       3. note           11. quarto    19. a5   27. b2  35. archE    43. dsheet
>       4. legal          12. 10x14     20. a6   28. b3  36. archD    44. esheet
>       5. executive      13. ledger    21. a7   29. b4  37. archC
>       6. halfletter     14. tabloid   22. a8   30. b5  38. archB
>       7. halfexecutive  15. a0        23. a9   31. c5  39. archA
>       8. 11x17          16. a1        24. a10  32. DL  40. flsa
>     Which papersize should be the default? [2]
>
> But I already configured this, years ago:
>
>     sfere$ cat /etc/papersize
>     a4
>
> I shouldn't be asked again.  Which package does this bug belong to?  I
> can't tell from the text that's displayed (and I think that's a bug,
> too).

This belongs to libpaperg.

But I'm wondering why this happens because the postinst of libpaperg
contains the following to avoid exactly this problem:


  if [ ! -e /etc/papersize ]; then
    if db_get libpaperg/defaultpaper; then
     PAPER="$RET"
    else
     PAPER="letter"
    fi
        /usr/sbin/paperconfig -p $PAPER
  fi


Which shell is your /bin/sh?

> ttfn/rjk

cu
Adrian (libpaperg maintainer)

-- 

Get my GPG key: finger bunk@debian.org | gpg --import

Fingerprint: B29C E71E FE19 6755 5C8A  84D4 99FC EA98 4F12 B400



Reply to: