On Apr 03, "Steinar H. Gunderson" <[EMAIL PROTECTED]> wrote:
> Well, it is not the current practice; the "or upgraded to a version which > includes the symlink if it did not exist before" is never implemented > anywhere. Can you show some examples? When people ask about this I point them to the eciadsl package which is quite simple: postinst: case "$1" in configure) if [ -z "$2" ] || dpkg --compare-versions "$2" lt 0.11-1; then ln -s ../eciadsl.rules /etc/udev/rules.d/z60_eciadsl.rules fi ;; postrm: case "$1" in purge) [ -L /etc/udev/rules.d/z60_eciadsl.rules ] && \ rm /etc/udev/rules.d/z60_eciadsl.rules ;; -- ciao, Marco
signature.asc
Description: Digital signature