Changeset 43433


Ignore:
Timestamp:
02/03/19 23:21:43 (5 years ago)
Author:
obi
Message:

fix kino sort and webif onlineupdate on oebuild

Location:
titan
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_secret/kinox.sh

    r43116 r43433  
    293293#       rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    294294#       rm $TMP/$FILENAME.list
    295         if [ ! -e "$TMP/$FILENAME.list" ]; then
     295        if [ ! -e "$TMP/$FILENAME.sort.list" ]; then
    296296                piccount=0
    297297#               $curlbin "$URL/$PAGE" -o "$TMP/cache.$FILENAME.1"
     
    390390
    391391                done 3<$TMP/cache.$FILENAME.2
     392                cat "$TMP/$FILENAME.list" | sort -r > "$TMP/$FILENAME.sort.list"
    392393                rm $TMP/cache.$FILENAME.* > /dev/null 2>&1
    393394
    394395        fi
    395         echo "$TMP/$FILENAME.list"
     396        echo "$TMP/$FILENAME.sort.list"
    396397}
    397398
  • titan/titan/httpdfunc.h

    r43430 r43433  
    56785678        }
    56795679#ifdef OEBUILD
    5680                 if(mode == 0)
    5681                         tmpstr = command("ls -1 /tmp/online | grep '.nfi\\|.zip\\|.img' | sort -r");
     5680        if(mode == 0)
     5681                tmpstr = command("ls -1 /tmp/online | grep '.nfi\\|.zip\\|.img' | sort -r");
     5682        else
     5683        {
     5684                if(file_exist("/var/backup"))
     5685                        tmpstr = command("ls -1 /var/backup/ | grep '.nfi\\|.zip\\|.img' | sort -r");
    56825686                else
    5683                 {
    5684                         if(file_exist("/var/backup"))
    5685                                 tmpstr = command("ls -1 /var/backup/ | grep '.nfi\\|.zip\\|.img' | sort -r");
    5686                         else
    5687                                 tmpstr = command("ls -1 /tmp | grep '.nfi\\|.zip\\|.img' | sort -r");
    5688                 }
     5687                        tmpstr = command("ls -1 /tmp | grep '.nfi\\|.zip\\|.img' | sort -r");
     5688        }
    56895689#else
    56905690        if(checkrealbox("DM7020HD") == 1 || checkbox("DM7020HDV2") == 1)
     
    57395739                        buf = ostrcat(buf, "<a class=linelink2 href=queryraw?getupdate&", 1, 0);
    57405740
    5741                         if(ostrstr(ret1[i].part, "_FULL_") != NULL || ostrstr(ret1[i].part, "_FULLBACKUP.") != NULL || ostrstr(ret1[i].part, "_UPDATENFI_") != NULL)
     5741                        if(ostrstr(ret1[i].part, "_FULL_") != NULL || ostrstr(ret1[i].part, "_FULLBACKUP.") != NULL || ostrstr(ret1[i].part, "_UPDATENFI_") != NULL || ostrstr(ret1[i].part, "_UPDATEUSB_") != NULL)
    57425742                        {
    57435743//                              if(checkrealbox("DM900") == 1)
     
    57645764
    57655765                                cmd = ostrcat(cmd, node->auth, 1, 0);
     5766#ifdef OEBUILD
     5767                                if(node->imgtype == 1)
     5768                                        cmd = ostrcat(cmd, " dev titannit.dyndns.tv", 1, 0);
     5769                                else
     5770                                        cmd = ostrcat(cmd, " release titannit.dyndns.tv", 1, 0);
     5771
     5772#else
    57665773                                if(node->imgtype == 1)
    57675774                                        cmd = ostrcat(cmd, " dev beta.dyndns.tv", 1, 0);
    57685775                                else
    57695776                                        cmd = ostrcat(cmd, " release atemio.dyndns.tv", 1, 0);
     5777#endif
    57705778                                if(file_exist("/var/swap"))
    57715779                                {
Note: See TracChangeset for help on using the changeset viewer.