* Raphael Hertzog <hert...@debian.org> [2009-06-03 08:54]:

> On Tue, 02 Jun 2009, Rafael Laboissiere wrote:
> > The libmtp7 package contains the file /etc/udev/rules.d/libmtp7.rules. This
> > file is not touched by libmtp8, AFAIK.
> > 
> > On the other hand, libmtp5 seems to be affected by the following offending
> > code in postinst:
> > 
> >     if dpkg --compare-versions "$2" lt-nl 0.3.7-3 ; then
> >         mv_conffile /etc/udev/$PACKAGE.rules \
> >                     /etc/udev/rules.d/45-$PACKAGE.rules
> >     fi
> > 
> > I do not remember why the above is necessary.  Could you please refresh my
> > memory, Savvas?
> 
> (On a somewhat unrelated note) Maybe the udev files should be moved to
> libmtp-common to avoid similar problems in the future and to avoid
> duplication of udev rules if you have several versions of the library
> installed?

I am not sure this would be useful, since the The udev rules file is
versioned now:

    $ dpkg -L libmtp8 | grep rules$
    /lib/udev/rules.d/45-libmtp8.rules

I think that each libmtp<n> package will need its specific rules file.

-- 
Rafael



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

Reply via email to