location-downloader - Download a location database
The location-downloader command updates the local version of the location database.
- --database FILE
- -d FILE
The path of the database which is being updated.
If this option is omitted, the system’s database will be opened.
Enable quiet mode
Enable debugging mode
This command will try to update the local database.
It will terminate with a return code of zero if the database has been successfully updated. 1 on error, 2 on invalid call and 3 if the database was already the latest version.
Verifies the downloaded database.
Shows a short help text on using this program.
Shows the program’s version and exists.
The location-downloader command will normally exit with code zero. If there has been a problem and the requested action could not be performed, the exit code is unequal to zero.
HOW IT WORKS
The downloader checks a DNS record for the latest version of the database. It will then try to download a file with that version from a mirror server. If the downloaded file is outdated, the next mirror will be tried until we have found a file that is recent enough.
Please report all bugs to the bugtracker at https://bugzilla.ipfire.org/.