spec: simplify %post logic for udev rules

Whitelist any rules file with qubes in name. This will prevent further
mistakes like forgetting about some script, or even not including script
for another package (like qubes-tor currently).
This commit is contained in:
Marek Marczykowski 2013-03-26 02:41:18 +01:00
parent 44fab139f4
commit 06f1dfb70c

View File

@ -312,15 +312,7 @@ do
continue continue
fi fi
if [ $(basename $f) == "99-qubes-network.rules" ] ; then if echo $f | grep -q qubes; then
continue
fi
if [ $(basename $f) == "99-qubes-block.rules" ] ; then
continue
fi
if [ $(basename $f) == "99-qubes-usb.rules" ] ; then
continue continue
fi fi