#!/bin/sh
# Arg: 1
# iwinfo - postinst
#!/bin/sh
if [ "x$D" != "x" ] ; then
	exit 1
fi
if type -p setfattr >/dev/null ; then
	for i in  /usr/bin/iwinfo:mxe /usr/lib64/libiwinfo.so:mxe ; do
		CMD=`echo $i | cut -d: -f1`
		FLAG=`echo $i | cut -d: -f2`
		[ -e "$CMD" ] || continue
		setfattr -n user.pax.flags -v $FLAG $CMD || true
	done
fi