mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
Copy validation field in _alpm_pkg_dup
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
7fa35f32d8
commit
77268f352f
@ -580,6 +580,7 @@ int _alpm_pkg_dup(alpm_pkg_t *pkg, alpm_pkg_t **new_ptr)
|
|||||||
newpkg->isize = pkg->isize;
|
newpkg->isize = pkg->isize;
|
||||||
newpkg->scriptlet = pkg->scriptlet;
|
newpkg->scriptlet = pkg->scriptlet;
|
||||||
newpkg->reason = pkg->reason;
|
newpkg->reason = pkg->reason;
|
||||||
|
newpkg->validation = pkg->validation;
|
||||||
|
|
||||||
newpkg->licenses = alpm_list_strdup(pkg->licenses);
|
newpkg->licenses = alpm_list_strdup(pkg->licenses);
|
||||||
newpkg->replaces = list_depdup(pkg->replaces);
|
newpkg->replaces = list_depdup(pkg->replaces);
|
||||||
|
Loading…
Reference in New Issue
Block a user