Hello Ivan, Ivan Shapovalov [2014-10-19 5:42 +0400]: > > but this isn't possible AFAIK. The alternative would be to change the > > Exec= to call "hdwb --update --vendor" iff /etc/udev/hwdb.d/ is empty. > > I'm just an innocent bystander, but isn't it possible with these two > lines? > > ConditionPathExists=|!@udevlibexecdir@/hwdb.bin > ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d/ > > This will succeed if EITHER @udevlibexecdir@/hwdb.bin does not exist > OR /etc/udev/hwdb.d/ is not empty.
Correct. That's indeed what got pointed out to me on IRC on Friday, and I sent another followup to the list. For some unknown reason that didn't actually hit the list though, so I bounced my reply again this morning. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel