[Midnightbsd-cvs] src [11994] trunk/usr.sbin/bsdconfig: fix more urls

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Aug 11 16:38:49 EDT 2018


Revision: 11994
          http://svnweb.midnightbsd.org/src/?rev=11994
Author:   laffer1
Date:     2018-08-11 16:38:48 -0400 (Sat, 11 Aug 2018)
Log Message:
-----------
fix more urls

Modified Paths:
--------------
    trunk/usr.sbin/bsdconfig/examples/add_some_packages.sh
    trunk/usr.sbin/bsdconfig/examples/browse_packages_http.sh
    trunk/usr.sbin/bsdconfig/share/common.subr

Modified: trunk/usr.sbin/bsdconfig/examples/add_some_packages.sh
===================================================================
--- trunk/usr.sbin/bsdconfig/examples/add_some_packages.sh	2018-08-11 20:36:50 UTC (rev 11993)
+++ trunk/usr.sbin/bsdconfig/examples/add_some_packages.sh	2018-08-11 20:38:48 UTC (rev 11994)
@@ -5,7 +5,7 @@
 #
 [ "$_SCRIPT_SUBR" ] || . /usr/share/bsdconfig/script.subr || exit 1
 nonInteractive=1
-_httpPath=http://pkg.freebsd.org
+_httpPath=http://pkg.midnightbsd.org
 mediaSetHTTP
 mediaOpen
 for package in wget bash rsync; do

Modified: trunk/usr.sbin/bsdconfig/examples/browse_packages_http.sh
===================================================================
--- trunk/usr.sbin/bsdconfig/examples/browse_packages_http.sh	2018-08-11 20:36:50 UTC (rev 11993)
+++ trunk/usr.sbin/bsdconfig/examples/browse_packages_http.sh	2018-08-11 20:38:48 UTC (rev 11994)
@@ -19,7 +19,7 @@
 for file in digests.txz packagesite.txz; do
 	[ -s "$PKGDIR/$file" ] && continue
 	if [ ! "$HTTP_INITIALIZED" ]; then
-		_httpPath=http://pkg.freebsd.org
+		_httpPath=http://pkg.midnightbsd.org
 		mediaSetHTTP
 		mediaOpen
 	fi

Modified: trunk/usr.sbin/bsdconfig/share/common.subr
===================================================================
--- trunk/usr.sbin/bsdconfig/share/common.subr	2018-08-11 20:36:50 UTC (rev 11993)
+++ trunk/usr.sbin/bsdconfig/share/common.subr	2018-08-11 20:38:48 UTC (rev 11994)
@@ -991,7 +991,7 @@
 #
 # Example 2:
 #
-# 	IFS=. f_count_ifs count www.freebsd.org # count=[3]
+# 	IFS=. f_count_ifs count www.midnightbsd.org # count=[3]
 #
 # NB: Make sure to use double-quotes if you are using a custom value for IFS
 # and you don't want the current value to effect the result. See example 3.



More information about the Midnightbsd-cvs mailing list