mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Lint Fixes
This commit is contained in:
parent
ff9db2a14a
commit
5ceef71668
1 changed files with 8 additions and 2 deletions
|
@ -1315,7 +1315,7 @@ __check_dpkg_architecture() {
|
|||
error_msg=""
|
||||
;;
|
||||
"armhf")
|
||||
if [ "$DISTRO_NAME_L" == "ubuntu" ] || [ "$DISTRO_MAJOR_VERSION" -lt 8 ]; then
|
||||
if [ "$DISTRO_NAME_L" = "ubuntu" ] || [ "$DISTRO_MAJOR_VERSION" -lt 8 ]; then
|
||||
error_msg="Support for armhf packages at $_REPO_URL is limited to Debian/Raspbian 8 platforms."
|
||||
__return_code=1
|
||||
else
|
||||
|
@ -1337,7 +1337,12 @@ __check_dpkg_architecture() {
|
|||
echoerror " sh ${__ScriptName} -r -P git v2016.11.5"
|
||||
fi
|
||||
fi
|
||||
return __return_code
|
||||
|
||||
if [ "${__return_code}" -eq 0 ]; then
|
||||
return 0
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
@ -6170,6 +6175,7 @@ __gentoo_post_dep() {
|
|||
echoinfo "Installing the following extra packages as requested: ${_EXTRA_PACKAGES}"
|
||||
# shellcheck disable=SC2086
|
||||
__autounmask ${_EXTRA_PACKAGES} || return 1
|
||||
# shellcheck disable=SC2086
|
||||
__emerge -v ${_EXTRA_PACKAGES} || return 1
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue