svn commit: r335875 - in head/sysutils/firstboot-pkgs: . files

Colin Percival cperciva at FreeBSD.org
Sun Dec 8 11:03:10 UTC 2013


Author: cperciva
Date: Sun Dec  8 11:03:09 2013
New Revision: 335875
URL: http://svnweb.freebsd.org/changeset/ports/335875

Log:
  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-.

Modified:
  head/sysutils/firstboot-pkgs/Makefile
  head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in

Modified: head/sysutils/firstboot-pkgs/Makefile
==============================================================================
--- head/sysutils/firstboot-pkgs/Makefile	Sun Dec  8 10:55:57 2013	(r335874)
+++ head/sysutils/firstboot-pkgs/Makefile	Sun Dec  8 11:03:09 2013	(r335875)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	firstboot-pkgs
-PORTVERSION=	1.1
+PORTVERSION=	1.2
 CATEGORIES=	sysutils
 MASTER_SITES=	# none
 DISTFILES=	# none

Modified: head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in
==============================================================================
--- head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in	Sun Dec  8 10:55:57 2013	(r335874)
+++ head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in	Sun Dec  8 11:03:09 2013	(r335875)
@@ -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


More information about the svn-ports-head mailing list