... | ... |
@@ -114,7 +114,7 @@ function fgfs () { |
114 | 114 |
fgfs_args+=("--aircraft-dir=$official_aircraft") |
115 | 115 |
unset official_aircraft |
116 | 116 |
|
117 |
-############ APPAREIL DANS FGADDON ? |
|
117 |
+############ APPAREIL DISPONIBLE DANS UN HANGAR CONNU ? |
|
118 | 118 |
elif which sqlite3 > /dev/null 2>&1 \ |
119 | 119 |
&& test -r $FGADDON/fgaddon.db \ |
120 | 120 |
&& test $(sqlite3 $FGADDON/fgaddon.db <<< "select count(file) from setxml where file is '${fgfs_arg}'") -gt 0; then |
... | ... |
@@ -141,7 +141,7 @@ function fgfs () { |
141 | 141 |
from hangars where name = '${${(@s/ /)ac}[2]:1:-1}'") |
142 | 142 |
case ${hangar[type]} in |
143 | 143 |
git) |
144 |
- git -C $FGADDON/Aircraft clone https://github.com/FGMEMBERS/${${(@s/ /)ac}[1]}.git;; |
|
144 |
+ git -C $FGADDON/Aircraft clone ${hangar[url]}/${${(@s/ /)ac}[1]}.git;; |
|
145 | 145 |
svn) |
146 | 146 |
svn checkout ${hangar[url]}/${${(@s/ /)ac}[1]} $FGADDON/Aircraft/${${(@s/ /)ac}[1]};; |
147 | 147 |
esac |