...
|
...
|
@@ -120,7 +120,7 @@ function fgfs () {
|
120
|
120
|
elif which sqlite3 > /dev/null 2>&1 \
|
121
|
121
|
&& test -r $FGADDON/fgaddon.db \
|
122
|
122
|
&& test $(sqlite3 $FGADDON/fgaddon.db <<< "select count(file) from setxml where file is '${fgfs_arg}'") -gt 0; then
|
123
|
|
- local PS3='which aircraft ? (Ctrl-D to quit) '
|
|
123
|
+ local PS3='which aircraft ? '
|
124
|
124
|
local IFS=$'\n'
|
125
|
125
|
select ac in $(sqlite3 $FGADDON/fgaddon.db <<< "select distinct printf('%s [%s, %s]',
|
126
|
126
|
aircrafts.name,
|
...
|
...
|
@@ -266,7 +266,7 @@ function fgfs () {
|
266
|
266
|
return
|
267
|
267
|
;;
|
268
|
268
|
--show-thumbnail)
|
269
|
|
- local PS3='which aircraft ? (Ctrl-D to quit) '
|
|
269
|
+ local PS3='which aircraft ? '
|
270
|
270
|
local IFS=$'\n'
|
271
|
271
|
select ac in $(sqlite3 $FGADDON/fgaddon.db <<< "select distinct printf('%s [%s, %s]',
|
272
|
272
|
aircrafts.name,
|
...
|
...
|
@@ -374,7 +374,7 @@ function fgfs () {
|
374
|
374
|
return
|
375
|
375
|
;;
|
376
|
376
|
--install)
|
377
|
|
- local PS3='which aircraft ? (Ctrl-D to quit) '
|
|
377
|
+ local PS3='which aircraft ? '
|
378
|
378
|
local IFS=$'\n'
|
379
|
379
|
select ac in $(sqlite3 $FGADDON/fgaddon.db <<< "select distinct printf('%s [%s, %s]',
|
380
|
380
|
aircrafts.name,
|