PKGBUILDs/extra/qemu/qemu.install
2017-03-14 12:41:59 +00:00

8 lines
223 B
Text

# Arg 1: the new package version
post_install() {
# trigger events on modules files when already loaded
for _f in /sys/devices/virtual/misc/{kvm,vhost-net}; do
[[ -e "$_f" ]] && udevadm trigger "$_f"
done
:
}