summaryrefslogtreecommitdiffstats
path: root/cpp.pkg.in/postinst
blob: 60871286fcd167b21501f3ecb018cb10b7799afa (plain)
1
2
3
4
5
6
7
#! /bin/sh

if [ "x${1}" = 'xconfigure' ]; then
	if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
		ln -sf @PKG_TARGET_ARCH@-cpp /usr/bin/cpp
	fi
fi