diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-30 17:29:39 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-05-30 17:29:39 (EDT) |
commit | ea4a3f795c5b25b604c15006e8be9950b9623c9f (patch) | |
tree | 2a28c5eee35d0d995b449a34294e0b8479135321 /cpp.pkg.in/postinst | |
parent | ed1e7fcc90af3751f02c5f42081ad43eb0208b05 (diff) |
cpp-*-*-*: New target-specific packages
Diffstat (limited to 'cpp.pkg.in/postinst')
-rwxr-xr-x | cpp.pkg.in/postinst | 7 |
1 files changed, 7 insertions, 0 deletions
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 |