summaryrefslogtreecommitdiffstats
path: root/binutils.pkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'binutils.pkg.in')
-rw-r--r--binutils.pkg.in/postinst2
-rw-r--r--binutils.pkg.in/prerm1
2 files changed, 3 insertions, 0 deletions
diff --git a/binutils.pkg.in/postinst b/binutils.pkg.in/postinst
index ebd719d..c2bdc2a 100644
--- a/binutils.pkg.in/postinst
+++ b/binutils.pkg.in/postinst
@@ -4,5 +4,7 @@ if [ "x${1}" = 'xconfigure' ]; then
if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
update-alternatives --install /usr/bin/ar ar \
/usr/bin/ar.binutils 20
+ update-alternatives --install /usr/bin/strings strings \
+ /usr/bin/strings.binutils 20
fi
fi
diff --git a/binutils.pkg.in/prerm b/binutils.pkg.in/prerm
index 0eda014..6966487 100644
--- a/binutils.pkg.in/prerm
+++ b/binutils.pkg.in/prerm
@@ -3,5 +3,6 @@
if [ "${1}" = remove ]; then
if [ "x$(cat /etc/proteanos_arch)" = 'x@PKG_TARGET_ARCH@' ]; then
update-alternatives --remove ar /usr/bin/ar.binutils
+ update-alternatives --remove strings /usr/bin/strings.binutils
fi
fi