#!/bin/sh
qc="/usr/local/include/qt5/QtCore/qconfig-modules.h"
qm="assistant"
case $2 in
POST-INSTALL)
[ \! -e "$qc" ] && touch "$qc"
sed -i "" "/qconfig-$qm\.h/ d" "$qc"
;;
esac
