diff options
author | cperciva <cperciva@FreeBSD.org> | 2013-12-08 19:03:09 +0800 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2013-12-08 19:03:09 +0800 |
commit | 768d53c204feb85dada49b5a87a6b1f547cb8c22 (patch) | |
tree | 642a69aec3c1ee7444186bf4781a3d276e71cab2 /sysutils | |
parent | 3b7f985f4c903e621719b4c7e45cba8764eb13bb (diff) | |
download | freebsd-ports-gnome-768d53c204feb85dada49b5a87a6b1f547cb8c22.tar.gz freebsd-ports-gnome-768d53c204feb85dada49b5a87a6b1f547cb8c22.tar.zst freebsd-ports-gnome-768d53c204feb85dada49b5a87a6b1f547cb8c22.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-.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/firstboot-pkgs/Makefile | 2 | ||||
-rw-r--r-- | sysutils/firstboot-pkgs/files/firstboot_pkgs.in | 2 |
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 |