Browse Source

Cleanup some old stuff

Toni Helenius 1 year ago
parent
commit
202425d42e
1 changed files with 0 additions and 51 deletions
  1. 0 51
      jdks/download-jdks.sh

+ 0 - 51
jdks/download-jdks.sh

@@ -13,57 +13,6 @@ set -e # Quit on Error
 jdk_major_version="17"
 jdk_version="0.9"
 jdk_build_version="9"
-platforms=( "x64_linux" "x86-32_windows" "x64_windows" "x64_mac" )
-
-# DEPRECATED (not required anymore)
-function install_xar {
-    # This is needed to open Mac OS .pkg files on Linux...
-    echo ">> Compiling xar, just for you..."
-    wget -q https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/xar/xar-1.5.2.tar.gz
-    tar xf xar-1.5.2.tar.gz
-    cd xar-1.5.2
-    ./configure -q > /dev/null
-    make -s > /dev/null
-    cd ../
-    echo "<< OK!"
-}
-
-# DEPRECATED (not required anymore)
-function install_seven_zip {
-    # This is due to not having root privilegs for apt-get
-    if [ -x "$(command -v 7z)" ]; then
-        return 0
-    fi
-
-    echo "> Installing 7zip"
-
-    if [ -x "7zip/bin/7z" ]; then
-        echo ">> Found cached 7zip, adjusting path"
-        cd 7zip/bin
-        PATH=`pwd`:$PATH
-        cd ../../
-        return 0
-    fi
-
-    echo ">> Compiling 7zip from source"
-    mkdir -p 7zip/bin
-    mkdir -p 7zip/lib
-    cd 7zip
-    wget -q http://downloads.sourceforge.net/project/p7zip/p7zip/15.09/p7zip_15.09_src_all.tar.bz2
-    tar xf p7zip*
-    rm *.bz2
-    cd p7zip*
-    make all3 > /dev/null
-    ./install.sh ../bin ../lib /dev/null /dev/null
-    #mv -v bin/ ../
-    cd ../
-    rm -rf p7zip*
-    cd bin
-    PATH=`pwd`:$PATH
-    cd ../lib
-    PATH=`pwd`:$PATH
-    cd ../../
-}
 
 function download_jdk {
     echo ">>> Downloading the JDK for $1"