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/prerm2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils.pkg.in/prerm b/binutils.pkg.in/prerm
index 6966487..c861505 100644
--- a/binutils.pkg.in/prerm
+++ b/binutils.pkg.in/prerm
@@ -1,6 +1,6 @@
#!/bin/sh
-if [ "${1}" = remove ]; then
+if [ "x${1}" = 'xremove' ]; 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