diff options
author | Adam <Adam@anope.org> | 2014-10-05 16:17:03 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-10-06 14:06:36 -0400 |
commit | af034928cb3e4853591c9a2f6512ed108500df37 (patch) | |
tree | d17108728f9ec39ddcc46681b189b699701dc870 /Config | |
parent | 8d40a750cc5b86b01ee5f88230fac79398acdf63 (diff) |
Remove auto cmake downloader Config stuff, which randomally doesn't work on some systems for no reason
Diffstat (limited to 'Config')
-rwxr-xr-x | Config | 39 |
1 files changed, 3 insertions, 36 deletions
@@ -176,42 +176,9 @@ done which cmake > /dev/null if [ $? -ne 0 ] ; then clear - if exists "cmake-bin" ; then : - else - echo "Anope requires CMake 2.4 or newer, which can be downloaded at http://cmake.org" - echo "If you have installed CMake already, ensure it is in your PATH environment variable." - - if [ `uname` = "Linux" ] ; then - - echo "" - echo "Config can attempt to install CMake for you now, which" - echo "will take approximately 50 MB of disk space." - echo "Would you like to install CMake now?" - echo2 "[y] " - read YN - if [ "$YN" = "n" ] ; then - exit 0 - fi - - echo "Downloading CMake... this may take a minute or two." - wget -q http://anope.org/cmake/linux-i386.php -O cmake-bin.tar.gz - if [ $? -ne 0 ] ; then - rm -f cmake-bin.tar.gz - echo "Unable to download CMake" - exit 0 - fi - mkdir -p cmake-bin - tar zxf cmake-bin.tar.gz -C cmake-bin - rm -f cmake-bin.tar.gz - echo "Done!" - else - exit 0 - fi - fi - - CMAKE_BIN=`find cmake-bin -name cmake` - CMAKE_BIN="`pwd`/`dirname $CMAKE_BIN`" - PATH="$PATH:$CMAKE_BIN" + echo "Anope requires CMake 2.4 or newer, which can be downloaded at http://cmake.org or through your system's package manager." + echo "If you have installed CMake already, ensure it is in your PATH environment variable." + exit 0 fi ########################################################################### |