diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2013-06-20 23:19:11 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2013-06-20 23:19:11 +0400 |
commit | 6a269e2a8e327fdc81f158b4e24c8909837f013c (patch) | |
tree | 6db9096c5107ead2ce0c8d06685a0e684138cc43 | |
parent | c721d82f25b2cde800959711b8b4d4e501b8c819 (diff) |
Install_deps.sh: ask suse users whether they want to install packman or not (can be already installed/enabled from a different URL, Suse repositories management is to complex to be handled automatically at this point).
-rwxr-xr-x | build_files/build_environment/install_deps.sh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/build_files/build_environment/install_deps.sh b/build_files/build_environment/install_deps.sh index fbd4c2f46d7..514e9f4ee58 100755 --- a/build_files/build_environment/install_deps.sh +++ b/build_files/build_environment/install_deps.sh @@ -1550,7 +1550,7 @@ compile_OSL() { tar -C $SRC --transform "s,(.*/?)OpenShadingLanguage-[^/]*(.*),\1OpenShadingLanguage-$OSL_VERSION\2,x" \ -xf $_src.tar.gz cd $_src - git checkout blender-fixes + #git checkout blender-fixes cd $CWD fi @@ -2278,8 +2278,18 @@ install_RPM() { fi _suse_rel="`grep VERSION /etc/SuSE-release | gawk '{print $3}'`" - sudo zypper ar -f http://packman.inode.at/suse/openSUSE_$_suse_rel/ packman + INFO "" + INFO "About to add 'packman' repository from http://packman.inode.at/suse/openSUSE_$_suse_rel/" + INFO "This is only needed if you do not already have a packman repository enabled..." + read -p "Do you want to add this repo (Y/n)?" + if [ "$(echo ${REPLY:=Y} | tr [:upper:] [:lower:])" == "y" ]; then + INFO " Installing packman..." + sudo zypper ar -f http://packman.inode.at/suse/openSUSE_$_suse_rel/ packman + INFO " Done." + else + INFO " Skipping packman installation." + fi sudo zypper --non-interactive --gpg-auto-import-keys update --auto-agree-with-licenses fi |