117 |
*\**|*\\\**) |
*\**|*\\\**) |
118 |
if [[ -e \${BINDIR}/\$(dirname \${i}) ]] |
if [[ -e \${BINDIR}/\$(dirname \${i}) ]] |
119 |
then |
then |
120 |
|
echo find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm |
121 |
find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm |
find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm |
122 |
fi |
fi |
123 |
;; |
;; |
124 |
*) |
*) |
125 |
if [[ -e \${BINDIR}/\${i} ]] |
if [[ -e \${BINDIR}/\${i} ]] |
126 |
then |
then |
127 |
|
echo rm -r \${BINDIR}/\${i} |
128 |
|
rm -r \${BINDIR}/\${i} || die |
129 |
|
# busybox does not detect symlinks with -e if the reference does not exists |
130 |
|
elif [[ -L \${BINDIR}/\${i} ]] |
131 |
|
then |
132 |
|
echo rm -r \${BINDIR}/\${i} |
133 |
rm -r \${BINDIR}/\${i} || die |
rm -r \${BINDIR}/\${i} || die |
134 |
fi |
fi |
135 |
;; |
;; |
175 |
*\**|*\\\**) |
*\**|*\\\**) |
176 |
if [[ -e \${BINDIR}/\$(dirname \${i}) ]] |
if [[ -e \${BINDIR}/\$(dirname \${i}) ]] |
177 |
then |
then |
178 |
|
echo find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm |
179 |
find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm |
find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs --no-run-if-empty rm |
180 |
fi |
fi |
181 |
;; |
;; |
182 |
*) |
*) |
183 |
if [[ -e \${BINDIR}/\${i} ]] |
if [[ -e \${BINDIR}/\${i} ]] |
184 |
then |
then |
185 |
|
echo rm -r \${BINDIR}/\${i} |
186 |
|
rm -r \${BINDIR}/\${i} || die |
187 |
|
# busybox does not detect symlinks with -e if the reference does not exists |
188 |
|
elif [[ -L \${BINDIR}/\${i} ]] |
189 |
|
then |
190 |
|
echo rm -r \${BINDIR}/\${i} |
191 |
rm -r \${BINDIR}/\${i} || die |
rm -r \${BINDIR}/\${i} || die |
192 |
fi |
fi |
193 |
;; |
;; |