Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
yelp
yelp-lang-bundle.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yelp-lang-bundle.patch of Package yelp
Index: yelp-3.3.1/libyelp/yelp-uri.c =================================================================== --- yelp-3.3.1.orig/libyelp/yelp-uri.c +++ yelp-3.3.1/libyelp/yelp-uri.c @@ -646,8 +646,21 @@ resolve_data_dirs (YelpUri *ret, langfirst ? docid : langs[lang_i], NULL); if (!g_file_test (helpdir, G_FILE_TEST_IS_DIR)) { + gchar *bundle_subdir = g_strdup_printf ("%s-bundle", subdir); + g_free (helpdir); - continue; + + helpdir = g_build_filename (datadirs[datadir_i], + bundle_subdir, + langfirst ? langs[lang_i] : docid, + langfirst ? docid : langs[lang_i], + NULL); + g_free (bundle_subdir); + + if (!g_file_test (helpdir, G_FILE_TEST_IS_DIR)) { + g_free (helpdir); + continue; + } } if (searchi + 1 >= searchmax) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor