On Nov 30, Paul Brossier <[EMAIL PROTECTED]> wrote:

> ok. i have 0.80 installing a /etc/udev/kino.rules as above, and linking
> to it from /etc/udev/rules.d/035_kino.rules.
> 
> i don't think there is a need for the custom postinst/postrm for kino,
It's always needed.
Please DO NOT ship the rules.d/ symlink as a package file, this is wrong
because it does not allow the local administrator to delete or rename it
(maybe I should write a debhelper command...).
The link must be created by postinst:

[ "$1" = configure -a -z "$2" ]

and deleted by postrm:

[ "$1" = purge ]

> ifeq (linux,$(DEB_HOST_ARCH_OS))
>         dh_gencontrol -plibgphoto2-$(major) -- -Vudev-hotplug="udev | hotplug"
> else
>       dh_gencontrol -plibgphoto2-$(major)
> endif
> 
> do i need to add such a thing too? 
Only if you care about non-linux architectures.

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to