Changeset 23360


Ignore:
Timestamp:
Sep 7, 2013, 12:42:33 PM (6 years ago)
Author:
nit
Message:

fix

Location:
titan/plugins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/dlna/dlna.h

    r23355 r23360  
    253253        dlnasetdefault(node);
    254254       
    255         if(file_exist("/var/swap/etc/minidlna.conf") == 1)
    256         {
    257                 dlnastop = "/var/swap/titanplugins/dlna/dlna.sh stop /var/swap/etc/minidlna.conf";
    258                 dlnastart = "/var/swap/titanplugins/dlna/dlna.sh start /var/swap/etc/minidlna.conf";
     255        if(file_exist("/var/etc/minidlna.conf") == 1)
     256        {
     257                dlnastop = "/var/usr/local/share/titan/plugins/dlna/dlna.sh stop /var/etc/minidlna.conf";
     258                dlnastart = "/var/usr/local/share/titan/plugins/dlna/dlna.sh start /var/etc/minidlna.conf";
    259259                dlnaconfig = "/var/swap/etc/minidlna.conf";     
    260260        }
     261        else if(file_exist("/var/swap/etc/minidlna.conf") == 1)
     262        {
     263                dlnastop = "/var/swap/usr/local/share/titan/plugins/dlna/dlna.sh stop /var/swap/etc/minidlna.conf";
     264                dlnastart = "/var/swap/usr/local/share/titan/plugins/dlna/dlna.sh start /var/swap/etc/minidlna.conf";
     265                dlnaconfig = "/var/swap/etc/minidlna.conf";     
     266        }
    261267        else
    262268        {
    263                 dlnastop = "/mnt/swapextensions/titanplugins/dlna/dlna.sh stop /mnt/swapextensions/etc/minidlna.conf";
    264                 dlnastart = "/mnt/swapextensions/titanplugins/dlna/dlna.sh start /mnt/swapextensions/etc/minidlna.conf";
     269                dlnastop = "/mnt/swapextensions/usr/local/share/titan/plugins/dlna/dlna.sh stop /mnt/swapextensions/etc/minidlna.conf";
     270                dlnastart = "/mnt/swapextensions/usr/local/share/titan/plugins/dlna/dlna.sh start /mnt/swapextensions/etc/minidlna.conf";
    265271                dlnaconfig = "/mnt/swapextensions/etc/minidlna.conf";   
    266272        }
  • titan/plugins/hbbtv/hbbtv.h

    r23356 r23360  
    360360        char* opera_home = NULL, *opera_fonts = NULL, *opera_widgets = NULL;
    361361
    362         if(isdir("/var/swap/titanplugins/hbbtv/opera"))
    363                 opera_root = ostrcat("/var/swap/titanplugins/hbbtv/opera", NULL, 0, 0);
     362  if(isdir("/var/usr/local/share/titan/plugins/hbbtv/opera"))
     363                opera_root = ostrcat("/var/usr/local/share/titan/plugins/hbbtv/opera", NULL, 0, 0);
     364        else if(isdir("/var/swap/usr/local/share/titan/plugins/hbbtv/opera"))
     365                opera_root = ostrcat("/var/swap/usr/local/share/titan/plugins/hbbtv/opera", NULL, 0, 0);
    364366        else
    365                 opera_root = ostrcat("/mnt/swapextensions/titanplugins/hbbtv/opera", NULL, 0, 0);
     367                opera_root = ostrcat("/mnt/swapextensions/usr/local/share/titan/plugins/hbbtv/opera", NULL, 0, 0);
    366368
    367369        opera_bin = ostrcat(opera_root, "/bin/opera", 0, 0);
Note: See TracChangeset for help on using the changeset viewer.