mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-27 00:59:19 -05:00
bundles: Don't lock during pull
There is no need for that
This commit is contained in:
@@ -141,10 +141,6 @@ install_bundle (XdgAppDir *dir,
|
||||
if (metadata == NULL)
|
||||
return FALSE;
|
||||
|
||||
if (!xdg_app_dir_lock (dir, &lock,
|
||||
cancellable, error))
|
||||
return FALSE;
|
||||
|
||||
if (!g_variant_lookup (metadata, "ref", "s", &ref))
|
||||
return xdg_app_fail (error, "Invalid bundle, no ref in metadata");
|
||||
|
||||
@@ -201,6 +197,10 @@ install_bundle (XdgAppDir *dir,
|
||||
error))
|
||||
goto out;
|
||||
|
||||
if (!xdg_app_dir_lock (dir, &lock,
|
||||
cancellable, error))
|
||||
return FALSE;
|
||||
|
||||
if (!g_file_make_directory_with_parents (deploy_base, cancellable, error))
|
||||
goto out;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user