From 627768b83af627ed7db3c3d91790da8b2631c836 Mon Sep 17 00:00:00 2001 From: Christoffer Sterner Date: Sun, 1 Feb 2015 00:29:19 +0100 Subject: [PATCH] Added sudo to yum install --- simple_make.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simple_make.sh b/simple_make.sh index 23a8682ac..9f954d7f6 100755 --- a/simple_make.sh +++ b/simple_make.sh @@ -6,8 +6,8 @@ if which apt-get; then elif which pacman; then sudo pacman -S --needed base-devel qt5 opencv openal opus libvpx libxss elif which yum; then - yum groupinstall "Development Tools" - yum install qt-devel qt-doc qt-creator opencv-devel openal-soft-devel libtool autoconf automake check check-devel libXScrnSaver-devel + sudo yum groupinstall "Development Tools" + sudo yum install qt-devel qt-doc qt-creator opencv-devel openal-soft-devel libtool autoconf automake check check-devel libXScrnSaver-devel else echo "Unknown package manager, attempting to compile anyways" fi