#!/bin/shset-e
update_hwdb(){systemd-hwdb--usrupdate||true}case"$1"inconfigure)# update/create hwdb before we (re)start udevupdate_hwdb
ifdpkg--compare-versions"$2"lt-nl"254.3-1~"&&[!-f/etc/init.d/udev];thenupdate-rc.dudevremove||truefi;;triggered)update_hwdb
exit0;;esac#DEBHELPER#