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:
parent
44fab139f4
commit
06f1dfb70c
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user