POSTIN
/bin/sh
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.0.0 200400 --slave /usr/bin/c++ c++ /usr/bin/g++-4.0.0 [ -e /usr/bin/g++ ] || update-alternatives --auto g++
POSTUN
/bin/sh
if [ ! -f /usr/bin/g++-4.0.0 ]; then update-alternatives --remove g++ /usr/bin/g++-4.0.0 fi