Skip to content

Commit

Permalink
autoconf: Backport SUSE detection from 17.2
Browse files Browse the repository at this point in the history
Previously SLE 15 was misdetected which lead to problems
in the RPM build process. This patch makes sure the distro
is detected just like it is on 17.2 onwards.
  • Loading branch information
arogge committed Nov 12, 2019
1 parent 37b3026 commit 8c0a8a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions autoconf/bareos/os.m4
Expand Up @@ -169,10 +169,7 @@ else
then
LSB_DISTRIBUTOR=`lsb_release -i -s`
case ${LSB_DISTRIBUTOR} in
"SUSE LINUX")
DISTNAME=suse
;;
"openSUSE project")
*SUSE*)
DISTNAME=suse
;;
CentOS)
Expand Down
5 changes: 1 addition & 4 deletions configure
Expand Up @@ -17853,10 +17853,7 @@ else
then
LSB_DISTRIBUTOR=`lsb_release -i -s`
case ${LSB_DISTRIBUTOR} in
"SUSE LINUX")
DISTNAME=suse
;;
"openSUSE project")
*SUSE*)
DISTNAME=suse
;;
CentOS)
Expand Down

0 comments on commit 8c0a8a6

Please sign in to comment.