Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix distribution detection so that Ubuntu does not identify as Debian

  • Loading branch information...
commit b0065fd03d92a56ded237c128c206b907899c22e 1 parent 6352774
Richard Yao authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 config/spl-build.m4
  2. +2 −2 configure
4 config/spl-build.m4
View
@@ -377,6 +377,8 @@ AC_DEFUN([SPL_AC_DEFAULT_PACKAGE], [
VENDOR=fedora ;
elif test -f /etc/gentoo-release ; then
VENDOR=gentoo ;
+ elif test -f /etc/lsb-release ; then
+ VENDOR=ubuntu ;
elif test -f /etc/debian_version ; then
VENDOR=debian ;
elif test -f /etc/SuSE-release ; then
@@ -385,8 +387,6 @@ AC_DEFUN([SPL_AC_DEFAULT_PACKAGE], [
VENDOR=slackware ;
elif test -f /etc/arch-release ; then
VENDOR=arch ;
- elif test -f /etc/lsb-release ; then
- VENDOR=ubuntu ;
elif test -f /etc/lunar.release ; then
VENDOR=lunar ;
else
4 configure
View
@@ -11495,6 +11495,8 @@ $as_echo_n "checking linux distribution... " >&6; }
VENDOR=fedora ;
elif test -f /etc/gentoo-release ; then
VENDOR=gentoo ;
+ elif test -f /etc/lsb-release ; then
+ VENDOR=ubuntu ;
elif test -f /etc/debian_version ; then
VENDOR=debian ;
elif test -f /etc/SuSE-release ; then
@@ -11503,8 +11505,6 @@ $as_echo_n "checking linux distribution... " >&6; }
VENDOR=slackware ;
elif test -f /etc/arch-release ; then
VENDOR=arch ;
- elif test -f /etc/lsb-release ; then
- VENDOR=ubuntu ;
elif test -f /etc/lunar.release ; then
VENDOR=lunar ;
else
Please sign in to comment.
Something went wrong with that request. Please try again.