summaryrefslogtreecommitdiffstats
path: root/cpp.pkg.in/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'cpp.pkg.in/prerm')
-rwxr-xr-xcpp.pkg.in/prerm7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp.pkg.in/prerm b/cpp.pkg.in/prerm
new file mode 100755
index 0000000..6af1b97
--- /dev/null
+++ b/cpp.pkg.in/prerm
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+if [ "${1}" = remove ]; then
+ if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
+ rm -f /usr/bin/cpp
+ fi
+fi