xbmc-13.1-vine.patch 1.1 KB

123456789101112131415161718192021222324
  1. --- xbmc-13.1-Gotham/xbmc/utils/SystemInfo.cpp.vine 2014-06-04 14:16:52.000000000 +0900
  2. +++ xbmc-13.1-Gotham/xbmc/utils/SystemInfo.cpp 2014-06-17 09:55:41.473817511 +0900
  3. @@ -646,6 +646,7 @@
  4. static const char* release_file[] = { "/etc/debian_version",
  5. "/etc/SuSE-release",
  6. "/etc/mandrake-release",
  7. + "/etc/vine-release",
  8. "/etc/fedora-release",
  9. "/etc/redhat-release",
  10. "/etc/gentoo-release",
  11. --- xbmc-13.1-Gotham/tools/Linux/xbmc.sh.in.vine 2014-06-04 14:16:52.000000000 +0900
  12. +++ xbmc-13.1-Gotham/tools/Linux/xbmc.sh.in 2014-06-17 10:00:33.965411621 +0900
  13. @@ -68,9 +68,9 @@
  14. if [ -f /etc/os-release ]; then
  15. . /etc/os-release
  16. echo $NAME $VERSION >> $FILE
  17. - elif which lsb_release > /dev/null; then
  18. + elif [ -f /etc/vine-release ]; then
  19. echo >> $FILE
  20. - lsb_release -a 2> /dev/null | sed -e 's/^/ /' >> $FILE
  21. + cat /etc/vine-release >> $FILE
  22. else
  23. echo "lsb_release not available" >> $FILE
  24. fi