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

Bug#62286: error in postinst: manpage is in /usr/share/man/, not /usr/man ...



Package: psptools
Version: 1.2.2-4
Severity: normal

update-alternatives is called from the postinst script as follows:

update-alternatives --install /usr/bin/pslpr pslpr /usr/bin/npslpr 30 \
  --slave /usr/man/man1/pslpr.$mansuffix pslpr.$mansuffix \
    /usr/man/man1/npslpr.$mansuffix

where $mansuffix should be 1.gz in most cases ... 

It should be ...

update-alternatives --install /usr/bin/pslpr pslpr /usr/bin/npslpr 30 \
  --slave /usr/share/man/man1/pslpr.$mansuffix pslpr.$mansuffix \
    /usr/share/man/man1/npslpr.$mansuffix                        

Otherwise this leaves a hanging symlink /usr/man/man1/pslpr.1 ...

Thanks,

Timshel

-- System Information
Debian Release: 2.2
Architecture: i386
Kernel: Linux pippin 2.2.14-pippin #1 Wed Apr 12 12:46:25 EST 2000 i586

Versions of packages psptools depends on:
ii  perl-5.005 [perl5]            5.005.03-7 Larry Wall's Practical Extracting 


Reply to: