%post
find /etc/smack/test_privilege_control_DIR/ -type f -name exec -exec chmod 0755 {} +
-# add test binaries to mw-list if it's not already there
-BINARIES[0]="/usr/bin/security-server-tests-client-smack"
-BINARIES[1]="/usr/bin/security-server-tests-label"
-BINARIES[2]="/usr/bin/security-server-tests-server"
-for BINARY in "${BINARIES[@]}"
-do
- grep -q $BINARY /usr/share/security-server/mw-list\
- || echo $BINARY >> /usr/share/security-server/mw-list
-done
echo "security-tests postinst done ..."
%postun