summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinstall-deps.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/install-deps.sh b/install-deps.sh
index 871a9f81a0e..c6a935a3df2 100755
--- a/install-deps.sh
+++ b/install-deps.sh
@@ -167,7 +167,12 @@ else
$SUDO rm -f /etc/yum.repos.d/dl.fedoraproject.org*
if test $(lsb_release -si) = CentOS -a $MAJOR_VERSION = 7 ; then
$SUDO yum-config-manager --enable cr
- $SUDO yum install centos-release-scl
+ case $(uname -m) in
+ x86_64)
+ $SUDO yum install centos-release-scl;;
+ aarch64)
+ $SUDO yum install centos-release-scl-rh;;
+ esac
elif test $(lsb_release -si) = RedHatEnterpriseServer -a $MAJOR_VERSION = 7 ; then
$SUDO yum-config-manager --enable rhel-server-rhscl-7-rpms
elif test $(lsb_release -si) = VirtuozzoLinux -a $MAJOR_VERSION = 7 ; then