Update default aircraft hangar catalog.xml url.
This commit is contained in:
parent
af3945f7f7
commit
7da08db463
1 changed files with 3 additions and 3 deletions
|
@ -47,10 +47,10 @@ typedef nasal::Ghost<pkg::PackageRef> NasalPackage;
|
||||||
typedef nasal::Ghost<pkg::CatalogRef> NasalCatalog;
|
typedef nasal::Ghost<pkg::CatalogRef> NasalCatalog;
|
||||||
typedef nasal::Ghost<pkg::InstallRef> NasalInstall;
|
typedef nasal::Ghost<pkg::InstallRef> NasalInstall;
|
||||||
|
|
||||||
const char* OFFICIAL_CATALOG_ID = "org.flightgear.official";
|
const char* OFFICIAL_CATALOG_ID = "org.flightgear.fgaddon";
|
||||||
|
|
||||||
// fallback URL is used when looking up a version-specific catalog fails
|
// fallback URL is used when looking up a version-specific catalog fails
|
||||||
const char* FALLBACK_CATALOG_URL = "http://fgfs.goneabitbursar.com/pkg/catalog.xml";
|
const char* FALLBACK_CATALOG_URL = "http://mirrors.ibiblio.org/flightgear/ftp/Aircraft/catalog.xml";
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ namespace {
|
||||||
std::string _getDefaultCatalogUrl()
|
std::string _getDefaultCatalogUrl()
|
||||||
{
|
{
|
||||||
return fgGetString("/sim/package-system/default-catalog/url",
|
return fgGetString("/sim/package-system/default-catalog/url",
|
||||||
"http://fgfs.goneabitbursar.com/pkg/" FLIGHTGEAR_VERSION "/catalog.xml");
|
"http://mirrors.ibiblio.org/flightgear/ftp/" FLIGHTGEAR_VERSION "/catalog.xml");
|
||||||
}
|
}
|
||||||
} // of anonymous namespace
|
} // of anonymous namespace
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue