systemd: drop unneeded $D check in prerm

(From OE-Core rev: 2bfc772425893ed5674eef76174be6e4b0b5cfd7)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson
2015-11-10 22:35:43 -07:00
committed by Richard Purdie
parent cd1f2b451d
commit 0069c0d3a3

View File

@@ -418,11 +418,7 @@ pkg_postinst_udev-hwdb () {
}
pkg_prerm_udev-hwdb () {
if test -n "$D"; then
exit 1
fi
rm -f ${sysconfdir}/udev/hwdb.bin
rm -f $D${sysconfdir}/udev/hwdb.bin
}
# As this recipe builds udev, respect systemd being in DISTRO_FEATURES so