Dear maintainer, I've prepared an NMU for x52pro (versioned as 0.1.1-2.1). The diff is attached to this message.
Regards.
diff -Nru x52pro-0.1.1/debian/changelog x52pro-0.1.1/debian/changelog --- x52pro-0.1.1/debian/changelog 2011-05-18 16:35:41.000000000 +0200 +++ x52pro-0.1.1/debian/changelog 2011-12-02 18:37:29.000000000 +0100 @@ -1,3 +1,12 @@ +x52pro (0.1.1-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Make the calls to udevadm in the maintainer scripts conditional on the + existence of udevadm (Closes: #640595) + * Set urgency to medium due to rc bug fix + + -- Alexander Reichle-Schmehl <toli...@debian.org> Fri, 02 Dec 2011 18:33:14 +0100 + x52pro (0.1.1-2) unstable; urgency=low * Change Standards-Version to 3.9.2 diff -Nru x52pro-0.1.1/debian/libx52pro0.postinst x52pro-0.1.1/debian/libx52pro0.postinst --- x52pro-0.1.1/debian/libx52pro0.postinst 2011-05-18 16:35:41.000000000 +0200 +++ x52pro-0.1.1/debian/libx52pro0.postinst 2011-12-02 18:32:59.000000000 +0100 @@ -20,8 +20,14 @@ case "$1" in configure) - udevadm control --reload-rules - udevadm trigger + case $(uname -s) in + Linux) + if which udevadm >/dev/null 2>&1; then + udevadm control --reload-rules + udevadm trigger + fi + ;; + esac ;; abort-upgrade|abort-remove|abort-deconfigure) diff -Nru x52pro-0.1.1/debian/libx52pro0.postrm x52pro-0.1.1/debian/libx52pro0.postrm --- x52pro-0.1.1/debian/libx52pro0.postrm 2011-05-18 16:35:41.000000000 +0200 +++ x52pro-0.1.1/debian/libx52pro0.postrm 2011-12-02 18:32:59.000000000 +0100 @@ -21,8 +21,14 @@ case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - udevadm control --reload-rules - udevadm trigger + case $(uname -s) in + Linux) + if which udevadm >/dev/null 2>&1; then + udevadm control --reload-rules + udevadm trigger + fi + ;; + esac ;; *)