return path;
}
- // 2. Use the "LYX_DIR_15x" environment variable.
- path = extract_env_var_dir("LYX_DIR_15x");
+ // 2. Use the "LYX_DIR_16x" environment variable.
+ path = extract_env_var_dir("LYX_DIR_16x");
if (!path.empty()) {
searched_dirs.push_back(path);
- if (check_env_var_dir(path, chkconfig_ltx, "LYX_DIR_15x"))
+ if (check_env_var_dir(path, chkconfig_ltx, "LYX_DIR_16x"))
return path;
}
"having searched\n"
"\t%1$s\n"
"Use the '-sysdir' command line parameter or "
- "set the environment variable LYX_DIR_15x to "
+ "set the environment variable LYX_DIR_16x to "
"the LyX system directory containing the file "
"`chkconfig.ltx'."),
from_utf8(searched_dirs_str)));
if (!result.empty())
return true;
- // 2. Use the LYX_USERDIR_15x environment variable.
- result = extract_env_var_dir("LYX_USERDIR_15x");
+ // 2. Use the LYX_USERDIR_16x environment variable.
+ // FIXME We need to iherit the atual version number from elsewhere other-
+ // wise we will forget to update this for new major releases
+ result = extract_env_var_dir("LYX_USERDIR_16x");
if (!result.empty())
return true;
/** The user_support directory was set explicitly using either
* the -userdir command line switch or
- * the LYX_USERDIR_15x environment variable.
+ * the LYX_USERDIR_16x environment variable.
*/
bool explicit_user_support() const { return explicit_user_support_dir_; }