Go to the source code of this file.
| #define | LOCALE_SUFFIX "locale" |
| #define | PACKAGE_CHK "Package" |
| #define | DPKG_FILE "/var/lib/dpkg/status" |
| #define | SUITE "unstable" |
| default for the command line configuration. | |
| gchar * | lu_get_aptstring (void) |
| return the configuration options for apt |
| #define DPKG_FILE "/var/lib/dpkg/status" |
| #define LOCALE_SUFFIX "locale" |
| #define PACKAGE_CHK "Package" |
| #define SUITE "unstable" |
default for the command line configuration.
| gchar* lu_get_aptstring | ( | void | ) |
return the configuration options for apt
Returns a newly allocated string consisting of a list of options to pass to apt (apt-cache or apt-get) when using the langupdate tdeb cache.
return the configuration options for apt
Depending on various settings, the apt configuration list needs to be adjusted so it cannot be completely defined as a macro. This function adds the customisations, creates a newly allocated string and returns it. The caller is responsible for freeing the string.
Also sets the langupdate cache data to the same configuration if this has not been done already.
00120 { 00121 return g_strconcat (DEBUG, APTCONFIGSTR, "-o Dir::State=", 00122 suite_codename, " -o Dir::Cache=", suite_codename, NULL);
1.5.4