Revision 8579,
1.1 KB
checked in by shaolin, 10 years ago
(diff) |
- self-build-xbmc: new upstream release; drop lsb dependency
|
-
old
|
new
|
|
646 | 646 | static const char* release_file[] = { "/etc/debian_version", |
647 | 647 | "/etc/SuSE-release", |
648 | 648 | "/etc/mandrake-release", |
| 649 | "/etc/vine-release", |
649 | 650 | "/etc/fedora-release", |
650 | 651 | "/etc/redhat-release", |
651 | 652 | "/etc/gentoo-release", |
-
old
|
new
|
|
68 | 68 | if [ -f /etc/os-release ]; then |
69 | 69 | . /etc/os-release |
70 | 70 | echo $NAME $VERSION >> $FILE |
71 | | elif which lsb_release > /dev/null; then |
| 71 | elif [ -f /etc/vine-release ]; then |
72 | 72 | echo >> $FILE |
73 | | lsb_release -a 2> /dev/null | sed -e 's/^/ /' >> $FILE |
| 73 | cat /etc/vine-release >> $FILE |
74 | 74 | else |
75 | 75 | echo "lsb_release not available" >> $FILE |
76 | 76 | fi |
Note: See
TracBrowser
for help on using the repository browser.