[pacman-dev] [PATCH] Update comment for local db entry creation
Mention mtree files do not need creation in addtion to install files. Signed-off-by: Allan McRae <allan@archlinux.org> --- lib/libalpm/be_local.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c index 2c18a45..96fe52b 100644 --- a/lib/libalpm/be_local.c +++ b/lib/libalpm/be_local.c @@ -990,8 +990,8 @@ int _alpm_local_db_write(alpm_db_t *db, alpm_pkg_t *info, alpm_dbinfrq_t inforeq fp = NULL; } - /* INSTALL */ - /* nothing needed here (script is automatically extracted) */ + /* INSTALL and MTREE */ + /* nothing needed here (automatically extracted) */ cleanup: umask(oldmask); -- 1.8.5.2
Signed-off-by: Allan McRae <allan@archlinux.org> --- lib/libalpm/package.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 1294f8e..8e67f17 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -580,6 +580,7 @@ int _alpm_pkg_dup(alpm_pkg_t *pkg, alpm_pkg_t **new_ptr) newpkg->isize = pkg->isize; newpkg->scriptlet = pkg->scriptlet; newpkg->reason = pkg->reason; + newpkg->validation = pkg->validation; newpkg->licenses = alpm_list_strdup(pkg->licenses); newpkg->replaces = list_depdup(pkg->replaces); -- 1.8.5.2
participants (1)
-
Allan McRae