summaryrefslogtreecommitdiffstats
path: root/binutils.pkg.in/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'binutils.pkg.in/prerm')
-rw-r--r--binutils.pkg.in/prerm7
1 files changed, 7 insertions, 0 deletions
diff --git a/binutils.pkg.in/prerm b/binutils.pkg.in/prerm
new file mode 100644
index 0000000..0eda014
--- /dev/null
+++ b/binutils.pkg.in/prerm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "${1}" = remove ]; then
+ if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
+ update-alternatives --remove ar /usr/bin/ar.binutils
+ fi
+fi