Fix typo when checking for installed refs in the system installation

tingping/wmclass
Mario Sanchez Prada 2016-11-03 11:16:43 +00:00
parent 31cbc72539
commit e06e560f50
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ ref_is_installed (FlatpakDir *dir, const char *ref)
{
g_autoptr(FlatpakDir) system_dir = flatpak_dir_get_system ();
deploy_dir = flatpak_dir_get_if_deployed (dir, ref, NULL, NULL);
deploy_dir = flatpak_dir_get_if_deployed (system_dir, ref, NULL, NULL);
if (deploy_dir != NULL)
return TRUE;
}