config: add more generic config_GetSysDir()
A quick survey of used installation directories yields those: datadir, libdir, localedir, pkgdatadir, pkglibdir, pkglibexecdir. The current pair of functions is up to the requirements. This provides a more generic function prototype, similar to what is done for user directories. Refs #19748, #19894.
Showing with 129 additions and 1 deletion