From owner-svn-ports-head@FreeBSD.ORG Sun Dec 8 11:03:10 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5DFC913D; Sun, 8 Dec 2013 11:03:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 49C261AD9; Sun, 8 Dec 2013 11:03:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB8B3AtZ027517; Sun, 8 Dec 2013 11:03:10 GMT (envelope-from cperciva@svn.freebsd.org) Received: (from cperciva@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB8B39uB027515; Sun, 8 Dec 2013 11:03:09 GMT (envelope-from cperciva@svn.freebsd.org) Message-Id: <201312081103.rB8B39uB027515@svn.freebsd.org> From: Colin Percival Date: Sun, 8 Dec 2013 11:03:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335875 - in head/sysutils/firstboot-pkgs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 11:03:10 -0000 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