Date: Mon, 30 Jan 2017 17:48:07 +0000 (UTC) From: Brad Davis <brd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432859 - in head/sysutils/firstboot-pkgs: . files Message-ID: <201701301748.v0UHm7nS084084@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: brd Date: Mon Jan 30 17:48:06 2017 New Revision: 432859 URL: https://svnweb.freebsd.org/changeset/ports/432859 Log: sysutils/firstboot-pkgs: Loop through the list installing one at a time to handle missing pkgs in the repo. Reviewed by: allanjude Approved by: cperciva, bdrewery (implicit) Modified: head/sysutils/firstboot-pkgs/Makefile head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in Modified: head/sysutils/firstboot-pkgs/Makefile ============================================================================== --- head/sysutils/firstboot-pkgs/Makefile Mon Jan 30 16:44:13 2017 (r432858) +++ head/sysutils/firstboot-pkgs/Makefile Mon Jan 30 17:48:06 2017 (r432859) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= firstboot-pkgs -PORTVERSION= 1.4 +PORTVERSION= 1.5 CATEGORIES= sysutils MASTER_SITES= # none DISTFILES= # none Modified: head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in ============================================================================== --- head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in Mon Jan 30 16:44:13 2017 (r432858) +++ head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in Mon Jan 30 17:48:06 2017 (r432859) @@ -37,10 +37,10 @@ firstboot_pkgs_run() fi # Install requested packages, if any - if ! [ -z "$firstboot_pkgs_list" ]; then - env ASSUME_ALWAYS_YES=YES pkg install $firstboot_pkgs_list </dev/null | + for package in ${firstboot_pkgs_list}; do + env ASSUME_ALWAYS_YES=YES pkg install ${package} </dev/null | cat - fi + done # Count rc.d scripts again nscriptsn=`ls /usr/local/etc/rc.d | wc -l`
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701301748.v0UHm7nS084084>