PackageKit/PackageKit-0.8.11-smartBackend-fix-remove-packages.patch

12 lines
825 B
Diff
Raw Permalink Normal View History

--- PackageKit-0.8.11/backends/smart/pk-backend-smart.c.orig 2013-09-23 17:36:30.145979165 +0200
+++ PackageKit-0.8.11/backends/smart/pk-backend-smart.c 2013-09-23 17:36:57.691715613 +0200
@@ -324,7 +324,7 @@
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_string (package_ids);
transaction_flags_temp = pk_transaction_flag_bitfield_to_string (transaction_flags);
- pk_backend_spawn_helper (spawn, job, BACKEND_FILE, "remove-packages", transaction_flags_temp, package_ids_temp, pk_backend_bool_to_string (autoremove), NULL);
+ pk_backend_spawn_helper (spawn, job, BACKEND_FILE, "remove-packages", transaction_flags_temp, package_ids_temp, pk_backend_bool_to_string(allow_deps), pk_backend_bool_to_string (autoremove), NULL);
g_free (package_ids_temp);
g_free (transaction_flags_temp);
}