Pass global enviroment variables
The install-deps.sh script is sometimes used in a server sitting behind a corporated network, for those scenarios is necessary to pass proxy global environment variables. This change enables that for fedora/centos OSes. Change-Id: Ic327168eec892970cd2d7dd4b24d92fa0deee184
This commit is contained in:
parent
eca1fba63e
commit
95091a4c3e
@ -87,7 +87,7 @@ case ${ID,,} in
|
||||
[wget]=wget
|
||||
)
|
||||
EXTRA_PKG_DEPS=()
|
||||
sudo yum updateinfo
|
||||
sudo -E yum updateinfo
|
||||
if $(grep -q Fedora /etc/redhat-release); then
|
||||
EXTRA_PKG_DEPS="python-dnf redhat-rpm-config"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user