From df074bb07c240c37b07bf1d9a5dc35f215eb0a0c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 11 Mar 2014 23:29:07 -0400 Subject: busybox.pkg/prerm: Protect [ command from "-". --- (limited to 'busybox.pkg') diff --git a/busybox.pkg/prerm b/busybox.pkg/prerm index c27fe7e..54b5053 100755 --- a/busybox.pkg/prerm +++ b/busybox.pkg/prerm @@ -1,6 +1,6 @@ #!/bin/sh -if [ "${1}" = remove ]; then +if [ "x${1}" = 'xremove' ]; then while read link name prio; do update-alternatives --remove "${name}" "${link}.busybox" done