mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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
2 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= firstboot-pkgs
|
PORTNAME= firstboot-pkgs
|
||||||
PORTVERSION= 1.4
|
PORTVERSION= 1.5
|
||||||
CATEGORIES= sysutils
|
CATEGORIES= sysutils
|
||||||
MASTER_SITES= # none
|
MASTER_SITES= # none
|
||||||
DISTFILES= # none
|
DISTFILES= # none
|
||||||
|
|
|
@ -37,10 +37,10 @@ firstboot_pkgs_run()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install requested packages, if any
|
# Install requested packages, if any
|
||||||
if ! [ -z "$firstboot_pkgs_list" ]; then
|
for package in ${firstboot_pkgs_list}; do
|
||||||
env ASSUME_ALWAYS_YES=YES pkg install $firstboot_pkgs_list </dev/null |
|
env ASSUME_ALWAYS_YES=YES pkg install ${package} </dev/null |
|
||||||
cat
|
cat
|
||||||
fi
|
done
|
||||||
|
|
||||||
# Count rc.d scripts again
|
# Count rc.d scripts again
|
||||||
nscriptsn=`ls /usr/local/etc/rc.d | wc -l`
|
nscriptsn=`ls /usr/local/etc/rc.d | wc -l`
|
||||||
|
|
Loading…
Add table
Reference in a new issue