summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/firstboot-pkgs/Makefile2
-rw-r--r--sysutils/firstboot-pkgs/files/firstboot_pkgs.in6
2 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/firstboot-pkgs/Makefile b/sysutils/firstboot-pkgs/Makefile
index 5f6dc7452b53..9d023485c4f7 100644
--- a/sysutils/firstboot-pkgs/Makefile
+++ b/sysutils/firstboot-pkgs/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= firstboot-pkgs
-PORTVERSION= 1.4
+PORTVERSION= 1.5
CATEGORIES= sysutils
MASTER_SITES= # none
DISTFILES= # none
diff --git a/sysutils/firstboot-pkgs/files/firstboot_pkgs.in b/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
index 817ae95a8ad8..886ac4221dab 100644
--- a/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
+++ b/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
@@ -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`