#! /bin/sh -e

update-alternatives \
    --install /usr/bin/c++ c++ /usr/bin/g++ 20 \
    --slave /usr/share/man/man1/c++.1.gz c++.1.gz /usr/share/man/man1/g++.1.gz

# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/g++ -a -d /usr/share/doc/g++ ]; then
		ln -sf ../share/doc/g++ /usr/doc/g++
	fi
fi
# End automatically added section
# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/g++ -a -d /usr/share/doc/g++ ]; then
		ln -sf ../share/doc/g++ /usr/doc/g++
	fi
fi
# End automatically added section

