Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 228885 | Differences between
and this patch

Collapse All | Expand All

(-)shared-mime-info-0.60/update-mime-database.c (+6 lines)
Lines 3386-3391 int main(int argc, char **argv) Link Here
3386
3386
3387
	package_dir = g_strconcat(mime_dir, "/packages", NULL);
3387
	package_dir = g_strconcat(mime_dir, "/packages", NULL);
3388
3388
3389
	if (access(mime_dir, F_OK))
3390
	{
3391
		g_warning(_("Directory '%s' does not exist!\n"), package_dir);
3392
		return EXIT_FAILURE;
3393
	}
3394
3389
	if (access(mime_dir, W_OK))
3395
	if (access(mime_dir, W_OK))
3390
	{
3396
	{
3391
		g_warning(_("%s: I don't have write permission on %s.\n"
3397
		g_warning(_("%s: I don't have write permission on %s.\n"

Return to bug 228885