svn commit: r255719 - stable/9/usr.sbin/bsdconfig/examples

Devin Teske dteske at FreeBSD.org
Thu Sep 19 22:06:28 UTC 2013


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


More information about the svn-src-stable-9 mailing list