summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg_install.c
diff options
context:
space:
mode:
Diffstat (limited to 'libopkg/opkg_install.c')
-rw-r--r--libopkg/opkg_install.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c
index aae72be..601d838 100644
--- a/libopkg/opkg_install.c
+++ b/libopkg/opkg_install.c
@@ -105,8 +105,6 @@ int opkg_install_from_file(opkg_conf_t *conf, const char *filename)
pkg = hash_insert_pkg(&conf->pkg_hash, pkg, 1,conf);
old = pkg_hash_fetch_installed_by_name(&conf->pkg_hash, pkg->name);
- pkg->local_filename = strdup(filename);
-
if (old) {
old_version = pkg_version_str_alloc(old);
new_version = pkg_version_str_alloc(pkg);