diff options
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 |