From 6af31e04375bb93229f5ff61e6ba1d9aec1f3425 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 31 Jan 2016 22:16:32 +0000 Subject: [PATCH] added add arch --- functions/check_deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/check_deps.sh b/functions/check_deps.sh index 14b1d71c3..11a76d54b 100644 --- a/functions/check_deps.sh +++ b/functions/check_deps.sh @@ -58,7 +58,7 @@ if [ "${#array_deps_missing[@]}" != "0" ]; then sleep 1 echo -en " \r" if [ -n "$(command -v dpkg-query)" ]; then - echo "sudo apt-get install ${array_deps_missing[@]}" + echo "sudo dpkg --add-architecture i386; sudo apt-get install ${array_deps_missing[@]}" elif [ -n "$(command -v yum)" ]; then echo "yum install ${array_deps_missing[@]}" fi @@ -67,7 +67,7 @@ if [ "${#array_deps_missing[@]}" != "0" ]; then fn_printinfomationnl "$(whoami) does not have sudo access. manually install dependencies" echo "" if [ -n "$(command -v dpkg-query)" ]; then - echo "sudo apt-get install ${array_deps_missing[@]}" + echo "sudo dpkg --add-architecture i386; sudo apt-get install ${array_deps_missing[@]}" elif [ -n "$(command -v yum)" ]; then echo "yum install ${array_deps_missing[@]}" fi