texlive[46249] Master/tlpkg/bin/tl-update-images: set up for 2018

commits+karl at tug.org commits+karl at tug.org
Mon Jan 8 17:34:25 CET 2018


Revision: 46249
          http://tug.org/svn/texlive?view=revision&revision=46249
Author:   karl
Date:     2018-01-08 17:34:25 +0100 (Mon, 08 Jan 2018)
Log Message:
-----------
set up for 2018 test images

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tl-update-images

Modified: trunk/Master/tlpkg/bin/tl-update-images
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-images	2018-01-08 14:42:01 UTC (rev 46248)
+++ trunk/Master/tlpkg/bin/tl-update-images	2018-01-08 16:34:25 UTC (rev 46249)
@@ -2,7 +2,7 @@
 # $Id$
 # Create the .iso image(s) for TeX Live.
 # 
-# Copyright 2007-2017 Karl Berry.
+# Copyright 2007-2018 Karl Berry.
 # Copyright 2003, 2004, 2005 Sebastian Rahtz.
 #
 # This file is licensed under the GNU General Public License version 2
@@ -12,7 +12,7 @@
 # Historical notes at the end of the script.
 
 NAME=texlive
-V=2017
+V=2018
 D=`date +%Y%m%d`
 target=/home/ftp/texlive/Images/test
 
@@ -101,6 +101,10 @@
   if $debug; then
     echo "source = `pwd`"
   fi
+  if test ! -r install-tl; then
+    echo "$0: no install-in in `pwd`, goodbye." >&2
+    exit 1
+  fi
   cp -pr install-tl *.bat tlpkg archive $imgdir
   
   # remove platforms to save space on the dvd.
@@ -156,8 +160,8 @@
   $master/tlpkg/bin/tl-sign-file $prefix.iso.sha512 || exit 1
 
   # symlinks with short name (potentially used in /etc/fstab).
-  rm $prefix.iso; ln -s `basename $iso` $prefix.iso             # with year
-  rm $target/$NAME.iso; ln -s `basename $iso` $target/$NAME.iso # no year
+  rm -f $prefix.iso; ln -s `basename $iso` $prefix.iso             # with year
+  rm -f $target/$NAME.iso; ln -s `basename $iso` $target/$NAME.iso # no year
 
   # at the end, all the files should be non-empty.
   all_ok=true



More information about the tex-live-commits mailing list