Changeset 4209


Ignore:
Timestamp:
03/14/08 16:10:46 (5 years ago)
Author:
thomas
Message:

opkg: skip downloading Packages.sig if GPGME is not enabled at build time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/opkg/libopkg/opkg_cmd.c

    r4202 r4209  
    258258          free(url); 
    259259 
     260#ifdef HAVE_GPGME 
    260261          /* download detached signitures to verify the package lists */ 
    261262          /* get the url for the sig file */ 
     
    285286          unlink (tmp_file_name); 
    286287          free (tmp_file_name); 
    287  
    288288          free (url); 
     289#else 
     290          opkg_message (conf, OPKG_NOTICE, "Signiture check for %s skipped " 
     291              "because GPG support was not enabled in this build\n", src->name); 
     292#endif 
    289293          free(list_file_name); 
    290294     } 
Note: See TracChangeset for help on using the changeset viewer.