diff options
author | P. J. McDermott <pjm@nac.net> | 2014-03-11 23:29:07 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2014-03-11 23:29:07 (EDT) |
commit | df074bb07c240c37b07bf1d9a5dc35f215eb0a0c (patch) | |
tree | 0fce96eaa6fc38c477cfe1a2930022f2f4331dfa | |
parent | 7fcc9993cec54d17b32fe99c3da8bce836fc24f5 (diff) |
busybox.pkg/prerm: Protect [ command from "-".
-rwxr-xr-x | busybox.pkg/prerm | 2 |
1 files changed, 1 insertions, 1 deletions
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 </usr/share/busybox/alternatives |