mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
moved fix to right place
This commit is contained in:
parent
7bf8434eef
commit
06687e14d6
1 changed files with 4 additions and 6 deletions
|
@ -477,6 +477,10 @@ __gather_linux_system_info() {
|
|||
# Let's convert CamelCase to Camel Case
|
||||
DISTRO_NAME=$(__camelcase_split "$DISTRO_NAME")
|
||||
fi
|
||||
#lsb_release -si returns "openSUSE project" on openSUSE 12.3
|
||||
if [ "${DISTRO_NAME}" = "openSUSE project" ]; then
|
||||
DISTRO_NAME="opensuse"
|
||||
fi
|
||||
rv=$(lsb_release -sr)
|
||||
[ "${rv}x" != "x" ] && DISTRO_VERSION=$(__parse_version_string "$rv")
|
||||
elif [ -f /etc/lsb-release ]; then
|
||||
|
@ -723,12 +727,6 @@ if ([ "${DISTRO_NAME_L}" != "ubuntu" ] && [ $ITYPE = "daily" ]) && \
|
|||
echoerror "${DISTRO_NAME} does not have daily packages support"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
#lsb_release -si returns "openSUSE project" on openSUSE 12.3
|
||||
if [ "${DISTRO_NAME_L}" = "opensuse_project" ]; then
|
||||
DISTRO_NAME_L="opensuse"
|
||||
fi
|
||||
|
||||
|
||||
#--- FUNCTION ----------------------------------------------------------------
|
||||
# NAME: __function_defined
|
||||
|
|
Loading…
Add table
Reference in a new issue