Showing 1 changed files with 2 additions and 2 deletions
+2 -2
flightgear/fgfs_function
... ...
@@ -9,7 +9,7 @@ function fgfs () {
9 9
     function update_fg () {
10 10
         case $1 in
11 11
             fgaddon)
12
-                DB=$FGADDON/fgaddon.db $HOME/.fgfs/fgaddon
12
+                test -r $HOME/.fgfs/fgaddon && DB="$FGADDON/fgaddon.db" bash $HOME/.fgfs/fgaddon
13 13
                 ;;
14 14
             check)
15 15
                 test -r $HOME/.fgfs/jenkins-status && bash $HOME/.fgfs/jenkins-status
... ...
@@ -303,7 +303,7 @@ function fgfs () {
303 303
                         _info /sim/long-description "Long description"
304 304
                         _info /sim/author           "Author(s)"
305 305
                         _info /sim/flight-model     "Flight model"
306
-                        _info /sim/type "Type"
306
+                        _info /sim/type             "Type"
307 307
                         echo Ratings
308 308
                         for r in FDM systems cockpit model; do
309 309
                             _info /sim/rating/$r "  $r"