Package: dpkg
Version: 1.17.6
Severity: normal

Dear Maintainer,

I need to use dir_to_symlink and see in 'man dpkg-maintscript-helper':

"[...] we can call the program only if we know that the required
command is supported by the currently installed dpkg:
     if dpkg-maintscript-helper supports command; then
         dpkg-maintscript-helper command ...
     fi
"

On my computer dpkg-maintscript-helper supports always returns 1:

snoopy:~$ dpkg-maintscript-helper supports dir_to_symlink; echo $?
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME 
missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE 
missing
1
snoopy:~$ dpkg-maintscript-helper supports fasdfa; echo $?
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME 
missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE 
missing
1
snoopy:~$ dpkg-maintscript-helper supports xyz; echo $?
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_NAME 
missing
dpkg-maintscript-helper: warning: environment variable DPKG_MAINTSCRIPT_PACKAGE 
missing
1

Kind regards,
Eugen


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

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

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-5
ii  libc6        2.17-97
ii  liblzma5     5.1.1alpha+20120614-2
ii  libselinux1  2.2.2-1
ii  tar          1.27.1-1
ii  zlib1g       1:1.2.8.dfsg-1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  0.9.15.2

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to