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

Bug#559683: aiccu: postinst depends on existence of /usr/share/doc/aiccu/examples/aiccu.conf

Package: aiccu
Version: 20070115-10
Severity: serious


>From http://www.debian.org/doc/debian-policy/ch-docs.html#s12.3:
«Packages must not require the existence of any files in /usr/share/doc/
in order to function».

>From aiccu's postinst:


# Check if the /etc/aiccu.conf is actually the example
if [ diff -q $EXAMPLE $CONFIGFILE 2>/dev/null >/dev/null ]; then

Also, you can't do if tests like that; what you want is

if diff -q $EXAMPLE $CONFIGFILE; then

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aiccu depends on:
ii  debconf [debconf-2.0]       1.5.28       Debian configuration management sy
ii  iproute                     20090324-1   networking and traffic control too
ii  iputils-ping                3:20071127-2 Tools to test the reachability of 
ii  iputils-tracepath           3:20071127-2 Tools to trace the network path to
ii  libc6                       2.10.2-2     GNU C Library: Shared libraries
ii  libgnutls26                 2.8.5-2      the GNU TLS library - runtime libr
ii  lsb-base                    3.2-23       Linux Standard Base 3.2 init scrip

Versions of packages aiccu recommends:
ii  ntp                     1:4.2.4p7+dfsg-4 Network Time Protocol daemon and u
ii  ntpdate                 1:4.2.4p7+dfsg-4 client for setting system time fro

aiccu suggests no packages.

-- debconf information:
* aiccu/username: TFH1-RIPE
* aiccu/tunnelname: T21085
* aiccu/brokername: tic://tic.sixxs.net

Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

Reply to: