aboutsummaryrefslogtreecommitdiff
path: root/sysutils/firstboot-pkgs
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2013-12-08 11:03:09 +0000
committerColin Percival <cperciva@FreeBSD.org>2013-12-08 11:03:09 +0000
commitd626e7e3288c015cdd1447c730f94bb0e2b4b979 (patch)
tree642a69aec3c1ee7444186bf4781a3d276e71cab2 /sysutils/firstboot-pkgs
parent44331a494132b6122e5fa07a0c3a6ac1e6488b61 (diff)
downloadports-d626e7e3288c015cdd1447c730f94bb0e2b4b979.tar.gz
ports-d626e7e3288c015cdd1447c730f94bb0e2b4b979.zip
Fix dumb typo: Need to check if the number of rc.d scripts has changed
between pre-package-installation and post-package-installation, not between pre- and pre-.
Notes
Notes: svn path=/head/; revision=335875
Diffstat (limited to 'sysutils/firstboot-pkgs')
-rw-r--r--sysutils/firstboot-pkgs/Makefile2
-rw-r--r--sysutils/firstboot-pkgs/files/firstboot_pkgs.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/firstboot-pkgs/Makefile b/sysutils/firstboot-pkgs/Makefile
index 911e7c82cf61..32213e0731d3 100644
--- a/sysutils/firstboot-pkgs/Makefile
+++ b/sysutils/firstboot-pkgs/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= firstboot-pkgs
-PORTVERSION= 1.1
+PORTVERSION= 1.2
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 e44e8e3e680d..c7ab5b3e2b3a 100644
--- a/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
+++ b/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
@@ -44,7 +44,7 @@ firstboot_pkgs_run()
nscriptsn=`ls /usr/local/etc/rc.d | wc -l`
# If we have more scripts, request a reboot
- if [ $nscriptso -ne $nscriptso ]; then
+ if [ $nscriptsn -ne $nscriptso ]; then
echo "Requesting reboot after installing packages with rc.d scripts."
touch ${firstboot_sentinel}-reboot
fi