Sławomir Paszkiewicz
3b1dbdf220
- added PLD Linux support to distro script
2015-09-29 15:14:53 +02:00
Tamas Szabo
52ceafbcbb
OpenWrt support added to distro detection script
2015-09-29 15:20:47 +03:00
Nils Steinger
b197533cc6
distro script: Added empty lines for better readability
2015-09-24 01:39:39 +02:00
Nils Steinger
e853eb1c54
distro script: Removed unnecessary quotes
2015-09-24 01:38:42 +02:00
Nils Steinger
1b816f194d
distro script: Removed United Linux (which has been dead since 2004)
2015-09-24 01:37:07 +02:00
Nils Steinger
c806d4cf60
distro script: Consider /etc/os-release along with the distribution-specific files and allow /etc/lsb-release to override it
2015-09-24 01:35:55 +02:00
Nils Steinger
99b608ef48
distro script: Ignore /etc/lsb-release on Arch systems
...
On Arch systems, /etc/lsb-release contains the placeholder version string
"rolling".
Prevent parsing /etc/lsb-release on Arch systems to the script won't report the
distribution "Arch rolling".
2015-09-24 01:33:45 +02:00
Nils Steinger
1543f63467
Revert "distro script: Only parse /etc/lsb-release if no known distribution is found"
...
This reverts commit d048e5e616a3d50efbc1c41d2fdd926c08dd2ad2.
The detection logic for Ubuntu (and perhaps other distributions) relies on
/etc/lsb-release.
2015-09-24 01:25:24 +02:00
Nils Steinger
506c61b7fc
distro script: Replaced outdated method of detecting OpenSUSE version
...
Replaced the crude parsing of /etc/SuSE-release (which is due to be removed in
future OpenSUSE versions) with equally crude parsing of /etc/os-release.
/etc/os-release is present on several different distributions and usually
contains the same information as /etc/lsb-release when both files are
available.
For now, parsing /etc/lsb-release takes precedence and /etc/os-release is only
used as a fallback when the former is not available.
2015-09-24 01:05:59 +02:00
Nils Steinger
d048e5e616
distro script: Only parse /etc/lsb-release if no known distribution is found
2015-09-23 00:06:41 +02:00
Nils Steinger
774312d457
distro script: Code cleanup
2015-09-23 00:05:44 +02:00
Nils Steinger
c53b5ecdeb
distro script: Handle cases where a distribution's version string is empty
2015-09-23 00:05:44 +02:00
Nils Steinger
2f1b83bbae
distro script: Added Arch Linux detection
2015-09-23 00:05:37 +02:00
f0o
6cf9958e9e
Added Gentoo-Detection
2014-03-08 22:32:19 +01:00
Tom Laermans
a239be3164
add Mandriva detection to distro script, fixes FS#179, patch/report by Gabor Garami
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2953 61d68cd4-352d-0410-923a-c4978735b2b8
2012-04-04 17:39:10 +00:00
Tom Laermans
bb4746d4d0
cleanups, small fixes and remove test-*php from the root
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1998 61d68cd4-352d-0410-923a-c4978735b2b8
2011-03-31 10:51:02 +00:00
Tom Laermans
0cd548f0f2
OSX Server Distro detection by Shil ( http://www.observium.org/forum/index.php/topic,79.0.html )
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1727 61d68cd4-352d-0410-923a-c4978735b2b8
2010-11-20 13:08:13 +00:00
Tom Laermans
e19d01cd63
fix distro detection script for 'SUSE LINUX Enterprise Server 9 (x86_64) 3' which has lsb-release but not with that info
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1208 61d68cd4-352d-0410-923a-c4978735b2b8
2010-06-18 16:14:51 +00:00
Geert Hauwaerts
26bc8edda5
- Added support for CentOS.
...
git-svn-id: http://www.observium.org/svn/observer/trunk@1038 61d68cd4-352d-0410-923a-c4978735b2b8
2010-03-20 22:51:26 +00:00
Super User
ff70062aa9
Initial Import
...
git-svn-id: http://www.observium.org/svn/observer/trunk@2 61d68cd4-352d-0410-923a-c4978735b2b8
2007-04-03 14:10:23 +00:00