source: projects/specs/trunk/nonfree/self-build-xbmc/xbmc-13.1-vine.patch @ 8579

Revision 8579, 1.1 KB checked in by shaolin, 7 years ago (diff)
  • self-build-xbmc: new upstream release; drop lsb dependency
  • xbmc-13.1-Gotham/xbmc/utils/SystemInfo.cpp

    old new  
    646646  static const char* release_file[] = { "/etc/debian_version", 
    647647                                        "/etc/SuSE-release", 
    648648                                        "/etc/mandrake-release", 
     649                                        "/etc/vine-release", 
    649650                                        "/etc/fedora-release", 
    650651                                        "/etc/redhat-release", 
    651652                                        "/etc/gentoo-release", 
  • xbmc-13.1-Gotham/tools/Linux/xbmc.sh.in

    old new  
    6868  if [ -f /etc/os-release ]; then 
    6969          . /etc/os-release 
    7070          echo $NAME $VERSION >> $FILE 
    71   elif which lsb_release > /dev/null; then 
     71  elif [ -f /etc/vine-release ]; then 
    7272    echo >> $FILE 
    73     lsb_release -a 2> /dev/null | sed -e 's/^/    /' >> $FILE 
     73    cat /etc/vine-release >> $FILE 
    7474  else 
    7575    echo "lsb_release not available" >> $FILE 
    7676  fi 
Note: See TracBrowser for help on using the repository browser.