From fb70577757cf49404fc6e837bd94d4f7d1f81f61 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 28 Dec 2008 02:53:44 -0500 Subject: adding check_signature config default if off you can turn that on via adding one line in /etc/opkg/opkg.conf file + option check_signature 1 git-svn-id: http://opkg.googlecode.com/svn/trunk@193 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libopkg/opkg_install.c') diff --git a/libopkg/opkg_install.c b/libopkg/opkg_install.c index 5f154a5..50cdabb 100644 --- a/libopkg/opkg_install.c +++ b/libopkg/opkg_install.c @@ -832,7 +832,7 @@ int opkg_install_pkg(opkg_conf_t *conf, pkg_t *pkg, int from_upgrade) char *list_file_name, *sig_file_name, *lists_dir; /* check to ensure the package has come from a repository */ - if (pkg->src) + if (conf->check_signature && pkg->src) { sprintf_alloc (&lists_dir, "%s", (conf->restrict_to_default_dest) -- cgit v0.9.1