Allow to install a package from a read-only dir
[project/opkg-lede.git] / libopkg / opkg_install.c
index f9245ca7985278ceef431b0bf725352390290d5d..96e6080d7c1cdbc598df59a012f1c9c71b9d690f 100644 (file)
@@ -85,7 +85,7 @@ int opkg_install_from_file(opkg_conf_t *conf, const char *filename)
 
      pkg = pkg_new();
 
-     err = pkg_init_from_file(pkg, filename);
+     err = pkg_init_from_file(conf, pkg, filename);
      if (err) {
          return err;
      }