Lines 232-238
Link Here
|
232 |
return 0 |
232 |
return 0 |
233 |
fi |
233 |
fi |
234 |
done |
234 |
done |
235 |
errmsg Error: "Program '"$1"' is missing, please install it first -> "${TOOLURL["$ARRAY"]}"" |
235 |
errmsg Error: "Program '"$1"' is missing, please install it first -> "${TOOLURL[$ARRAY]}"" |
236 |
echo -e " ${TOOLMSG["$ARRAY"]}" |
236 |
echo -e " ${TOOLMSG["$ARRAY"]}" |
237 |
return 1 |
237 |
return 1 |
238 |
} |
238 |
} |
Lines 241-247
Link Here
|
241 |
ARRAY_NUM="${#TOOLKIT[@]}" |
241 |
ARRAY_NUM="${#TOOLKIT[@]}" |
242 |
ARRAY="1" |
242 |
ARRAY="1" |
243 |
while [ "$ARRAY" -le "$ARRAY_NUM" ]; do |
243 |
while [ "$ARRAY" -le "$ARRAY_NUM" ]; do |
244 |
testprog ${TOOLKIT["$ARRAY"]} || exit 0; |
244 |
testprog ${TOOLKIT[$ARRAY]} || exit 0; |
245 |
let ARRAY=$ARRAY+1 |
245 |
let ARRAY=$ARRAY+1 |
246 |
done |
246 |
done |
247 |
} |
247 |
} |