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)
This commit is contained in:
parent
2ebb2d2162
commit
1d3c973e87
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=432859
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= firstboot-pkgs
|
||||
PORTVERSION= 1.4
|
||||
PORTVERSION= 1.5
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user