#!/bin/sh
# Arg: 1
# luci - postinst
#!/bin/sh
if [ "x$D" != "x" ] ; then
	exit 1
fi
if type -p setfattr >/dev/null ; then
	for i in /usr/bin/luci-bwc: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