← Back to team overview

openjdk team mailing list archive

Bug#955619: openjdk-11-jre-headless: failure to install due to non-existant /usr/share/man/man1/ directory

 

The postin script contains a check about whether the man page
source file exists, but doesn't check the destination directory.

So one way to fix this problem is to change the postin script
from 

        if [ -e $mandir/man1/$i.$srcext ]; then

to

        if [ -e $mandir/man1/$i.$srcext && -e /usr/share/man/man1 ]; then