From ea4a3f795c5b25b604c15006e8be9950b9623c9f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 30 May 2019 17:29:39 -0400 Subject: cpp-*-*-*: New target-specific packages --- (limited to 'cpp.pkg.in/postinst') diff --git a/cpp.pkg.in/postinst b/cpp.pkg.in/postinst new file mode 100755 index 0000000..6087128 --- /dev/null +++ b/cpp.pkg.in/postinst @@ -0,0 +1,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 -- cgit v0.9.1