Hello Julien,

Julien Cristau wrote on 2013-03-19 10:36:

> I don't understand.  dpkg won't try to remove a directory owned by two
> packages if you remove one of them.

It isn't done by dpkg but by postrm of hylafax-server package in this way:

    [ -d /var/spool/hylafax/etc ] && rm -rf /var/spool/hylafax/etc
    [ -L /var/spool/hylafax/bin ] && rm /var/spool/hylafax/bin

    for i in /etc/hylafax/setup.cache /etc/hylafax/setup.modem \
        /var/spool/hylafax/status/any.info /var/spool/hylafax/dev/null \
        /var/spool/hylafax/FIFO /var/spool/hylafax/bin/ps2fax \
        /var/spool/hylafax/bin/pdf2fax /var/spool/hylafax/bin/bin \
        /etc/default/hylafax
    do
        [ -e "$i" -o -L "$i" ] && rm "$i"
    done

    [ -d /var/spool/hylafax/bin ] && rmdir --ignore-fail-on-non-empty 
/var/spool/hylafax/bin

With hylafax 6.0.6-5 the postrm script do not remove /var/spool/hylafax anymore.
So capi4hylafax have the chance to use this directory without problems.


---
Have a nice day.

Joachim (Germany)


-- 
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