From 22f090a688f1f1d7dbb818d86b6ef23c1195861e Mon Sep 17 00:00:00 2001 From: Balletie Date: Sat, 23 Aug 2014 20:31:52 +0200 Subject: [PATCH] Extract with root privileges --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 1ac6a64fe0..7f2c870352 100755 --- a/install.sh +++ b/install.sh @@ -58,8 +58,8 @@ if [[ `uname` == "Darwin" ]]; then fi if [[ ! -d $ming_path ]]; then echo "Extracting contents of $mingw_tar to $mingw_install_dir" - echo "Don't forget to add $mingw_path to your $PATH variable!" - tar -xyf $cachedir/$mingw_tar -C $mingw_install_dir + echo "Don't forget to add $mingw_path to your PATH variable!" + sudo tar -xyf $cachedir/$mingw_tar -C $mingw_install_dir fi elif [[ `uname` == "Linux" ]]; then sudo apt-get install -y --force-yes binutils-mingw-w64-i686 gcc-mingw-w64-i686 g++-mingw-w64-i686