... | ... |
@@ -245,15 +245,15 @@ function fgfs () { |
245 | 245 |
fi |
246 | 246 |
done |
247 | 247 |
if test ${#installed_model[@]} -gt 0; then |
248 |
- echo "${(j:\n:)${(k)installed_model[@]}}" > $mplist |
|
248 |
+ echo "${(j:\n:)${(Ok)installed_model[@]}}" > $mplist |
|
249 | 249 |
echo -e "Installed:\n$(column -c$(tput cols) $mplist)\n" |
250 | 250 |
fi |
251 | 251 |
if test ${#fgaddon_model[@]} -gt 0; then |
252 |
- echo "${(j:\n:)${(k)fgaddon_model[@]}}" > $mplist |
|
252 |
+ echo "${(j:\n:)${(Ok)fgaddon_model[@]}}" > $mplist |
|
253 | 253 |
echo -e "Available in FGADDON:\n$(column -c$(tput cols) $mplist)\n" |
254 | 254 |
fi |
255 | 255 |
if test ${#unknown_model[@]} -gt 0; then |
256 |
- echo "${(j:\n:)${(k)unknown_model[@]}}" > $mplist |
|
256 |
+ echo "${(j:\n:)${(Ok)unknown_model[@]}}" > $mplist |
|
257 | 257 |
echo -e "unknown models:\n$(column -c$(tput cols) $mplist)" |
258 | 258 |
fi |
259 | 259 |
unset installed_model unknown_model fgaddon_model |