No longer install PuTTY and other windows binaries
[grml-live-grml.git] / grml-live
index 4b06507..5001091 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -277,7 +277,6 @@ shift $(($OPTIND - 1))  # set ARGV to the first not parsed commandline parameter
 [ -n "$TEMPLATE_DIRECTORY" ] || TEMPLATE_DIRECTORY='/usr/share/grml-live/templates'
 [ -n "$USERNAME" ]         || USERNAME='grml'
 [ -n "$VERSION" ]          || VERSION='0.0.1'
-[ -n "$WINDOWS_BINARIES" ] || WINDOWS_BINARIES='http://the.earth.li/~sgtatham/putty/latest/x86/'
 
 # output specific stuff, depends on $OUTPUT (iff not set):
 [ -n "$OUTPUT" ]           || OUTPUT='/grml/grml-live'
@@ -919,30 +918,6 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then
           cp ${TEMPLATE_DIRECTORY}/windows/autostart/* "$BUILD_OUTPUT"/
        fi
 
-       # windows-binaries:
-       if [ -n "$NO_WINDOWS_BINARIES" ] ; then
-          log   "Skipping download of windows binaries as requested via \$NO_WINDOWS_BINARIES."
-          einfo "Skipping download of windows binaries as requested via \$NO_WINDOWS_BINARIES."
-          eend 0
-       else
-          if [ -f "$BUILD_OUTPUT"/windows/putty.exe ] ; then
-             log   "Skipping stage 'WINDOWS_BINARIES' as $BUILD_OUTPUT/windows exists already."
-             ewarn "Skipping stage 'WINDOWS_BINARIES' as $BUILD_OUTPUT/windows exists already." ; eend 0
-          else
-             if ! [ -d "$BUILD_OUTPUT"/windows ] ; then
-                mkdir "$BUILD_OUTPUT"/windows
-                ( cd "$BUILD_OUTPUT"/windows
-                  for file in pageant plink pscp psftp putty puttygen ; do
-                     wget -O ${file}.exe ${WINDOWS_BINARIES}/${file}.exe
-                     md5sum ${file}.exe > ${file}.exe.md5
-                  done )
-             fi
-
-             log "Finished execution of stage 'WINDOWS_BINARIES' [$(date)]"
-             einfo "Finished execution of stage 'WINDOWS_BINARIES'" ; eend 0
-          fi
-       fi
-
     FORCE_ISO_REBUILD=true
     einfo "Finished execution of stage 'boot'" ; eend 0
     fi