Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Sep 2013 22:06:28 +0000 (UTC)
From:      Devin Teske <dteske@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r255719 - stable/9/usr.sbin/bsdconfig/examples
Message-ID:  <201309192206.r8JM6SM9059239@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dteske
Date: Thu Sep 19 22:06:28 2013
New Revision: 255719
URL: http://svnweb.freebsd.org/changeset/base/255719

Log:
  MFC r255340:
  
  Long URLs don't always appear even with autosizing and other tricks. So,
  add some whitespace to put the URL on a line by itself, maximizing view.
  
  MFC r255341:
  
  Remove unnecessary mediaClose (FTP operations are done with either ftp(1)
  or fetch(1), neither of which are stateful, compared to how sysinstall(8)
  did FTP operations, maintaining an open session until mediaClose).

Modified:
  stable/9/usr.sbin/bsdconfig/examples/browse_packages.sh
Directory Properties:
  stable/9/usr.sbin/bsdconfig/   (props changed)

Modified: stable/9/usr.sbin/bsdconfig/examples/browse_packages.sh
==============================================================================
--- stable/9/usr.sbin/bsdconfig/examples/browse_packages.sh	Thu Sep 19 20:30:35 2013	(r255718)
+++ stable/9/usr.sbin/bsdconfig/examples/browse_packages.sh	Thu Sep 19 22:06:28 2013	(r255719)
@@ -17,9 +17,8 @@ if [ ! -e "$TMPDIR/packages/INDEX" ]; th
 	# For older releases, use ftp://ftp-archive.freebsd.org
 	mediaSetFTP
 	mediaOpen
-	f_show_info "Downloading packages/INDEX from %s" "$_ftpPath" 
+	f_show_info "Downloading packages/INDEX from\n %s" "$_ftpPath" 
 	f_device_get media packages/INDEX > $TMPDIR/packages/INDEX
-	mediaClose
 fi
 _directoryPath=$TMPDIR
 mediaSetDirectory



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309192206.r8JM6SM9059239>