From owner-svn-ports-head@FreeBSD.ORG Sun Feb 2 20:48:29 2014 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 6AD80D45; Sun, 2 Feb 2014 20:48:29 +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 574FE1D0C; Sun, 2 Feb 2014 20:48:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s12KmTrx062023; Sun, 2 Feb 2014 20:48:29 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s12KmTPq062022; Sun, 2 Feb 2014 20:48:29 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201402022048.s12KmTPq062022@svn.freebsd.org> From: Eitan Adler Date: Sun, 2 Feb 2014 20:48:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r342366 - head/sysutils/usb_modeswitch 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, 02 Feb 2014 20:48:29 -0000 Author: eadler Date: Sun Feb 2 20:48:28 2014 New Revision: 342366 URL: http://svnweb.freebsd.org/changeset/ports/342366 QAT: https://qat.redports.org/buildarchive/r342366/ Log: Correctly stagify the config files Helped by: kwm, antoine Approved by: portmgr (blanket) Modified: head/sysutils/usb_modeswitch/pkg-plist Modified: head/sysutils/usb_modeswitch/pkg-plist ============================================================================== --- head/sysutils/usb_modeswitch/pkg-plist Sun Feb 2 20:48:07 2014 (r342365) +++ head/sysutils/usb_modeswitch/pkg-plist Sun Feb 2 20:48:28 2014 (r342366) @@ -1,5 +1,5 @@ sbin/usb_modeswitch -etc/usb_modeswitch.conf.sample man/man1/usb_modeswitch.1.gz -@exec if [ ! -f %D/etc/usb_modeswitch.conf ] ; then cp -p %D/%F %B/usb_modeswitch.conf; fi @unexec if cmp -s %D/etc/usb_modeswitch.conf.sample %D/etc/usb_modeswitch.conf; then rm -f %D/etc/usb_modeswitch.conf ; fi +etc/usb_modeswitch.conf.sample +@exec if [ ! -f %D/etc/usb_modeswitch.conf ] ; then cp -p %D/%F %B/usb_modeswitch.conf; fi