63 |
fi |
fi |
64 |
|
|
65 |
# then try to remove pname target |
# then try to remove pname target |
66 |
if [[ ! -z $(magequery -n ${PNAME}-${target}) ]] |
if [[ ! -z $(magequery -n ${_PNAME}-${target}) ]] |
67 |
then |
then |
68 |
echo "removing deprecated mage-target '${PNAME}-${target}'" |
echo "removing deprecated mage-target '${_PNAME}-${target}'" |
69 |
mage uninstall ${PNAME}-${target} || die |
mage uninstall ${_PNAME}-${target} || die |
70 |
fi |
fi |
71 |
done |
done |
72 |
;; |
;; |
122 |
*\**|*\\\**) |
*\**|*\\\**) |
123 |
if [[ -e \${BINDIR}/\$(dirname \${i}) ]] |
if [[ -e \${BINDIR}/\$(dirname \${i}) ]] |
124 |
then |
then |
125 |
find \${BINDIR}/\$(dirname \${i}) -name \"\$(basename \${i})\" | xargs rm |
find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs rm |
126 |
fi |
fi |
127 |
;; |
;; |
128 |
*) |
*) |
173 |
*\**|*\\\**) |
*\**|*\\\**) |
174 |
if [[ -e \${BINDIR}/\$(dirname \${i}) ]] |
if [[ -e \${BINDIR}/\$(dirname \${i}) ]] |
175 |
then |
then |
176 |
find \${BINDIR}/\$(dirname \${i}) -name \"\$(basename \${i})\" | xargs rm |
find \${BINDIR}/\$(dirname \${i}) -maxdepth 1 -name \"\$(basename \${i})\" | xargs rm |
177 |
fi |
fi |
178 |
;; |
;; |
179 |
*) |
*) |