Changeset 32994


Ignore:
Timestamp:
02/14/15 21:58:28 (8 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/softcam.h

    r32992 r32994  
    419419                        if(listbox->select->name == NULL)
    420420                        {
    421                                 tmpstr1 = getoscamconfig();     
     421                                if(file_exist("/mnt/swapextensions/keys"))
     422                                        tmpstr1 = ostrcat("/mnt/swapextensions", NULL, 0, 0);
     423                                else if(file_exist("/var/swap/keys"))
     424                                        tmpstr1 = ostrcat("/var/swap", NULL, 0, 0);
     425                                else if(file_exist("/var/keys"))
     426                                        tmpstr1 = ostrcat("/var/keys", NULL, 0, 0);
     427
    422428                                if(tmpstr1 == NULL) return;
    423429                                extract = ostrcat("tar -zxvf /tmp/.tmp.tar.gz -C ", tmpstr1, 0, 0);
Note: See TracChangeset for help on using the changeset viewer.