From owner-svn-doc-head@freebsd.org Wed Dec 20 08:13:59 2017 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2354BE9E357; Wed, 20 Dec 2017 08:13:59 +0000 (UTC) (envelope-from wosch@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E1B0A3149; Wed, 20 Dec 2017 08:13:58 +0000 (UTC) (envelope-from wosch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vBK8Dvam004072; Wed, 20 Dec 2017 08:13:57 GMT (envelope-from wosch@FreeBSD.org) Received: (from wosch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vBK8DvQ4004071; Wed, 20 Dec 2017 08:13:57 GMT (envelope-from wosch@FreeBSD.org) Message-Id: <201712200813.vBK8DvQ4004071@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wosch set sender to wosch@FreeBSD.org using -f From: Wolfram Schneider Date: Wed, 20 Dec 2017 08:13:57 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r51323 - head/en_US.ISO8859-1/htdocs/ports X-SVN-Group: doc-head X-SVN-Commit-Author: wosch X-SVN-Commit-Paths: head/en_US.ISO8859-1/htdocs/ports X-SVN-Commit-Revision: 51323 X-SVN-Commit-Repository: doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2017 08:13:59 -0000 Author: wosch Date: Wed Dec 20 08:13:57 2017 New Revision: 51323 URL: https://svnweb.freebsd.org/changeset/doc/51323 Log: always check if there is a newer INDEX database is available PR: 224465 Modified: head/en_US.ISO8859-1/htdocs/ports/Makefile Modified: head/en_US.ISO8859-1/htdocs/ports/Makefile ============================================================================== --- head/en_US.ISO8859-1/htdocs/ports/Makefile Tue Dec 19 13:46:37 2017 (r51322) +++ head/en_US.ISO8859-1/htdocs/ports/Makefile Wed Dec 20 08:13:57 2017 (r51323) @@ -19,9 +19,13 @@ ${INDEX}: ${PINDEX_OVERRIDE} ${INDEX}: $${PORTSBASE}/${PINDEX} ${CP} ${PORTSBASE}/${PINDEX} ${INDEX} .else -${INDEX}: + +${INDEX}: ${INDEX}.bz2 +${INDEX}.bz2: .EXEC ${FETCH} ${FETCH_OPT} -o ${INDEX}.bz2 ${INDEXURI}.bz2 - ${BUNZIP2} ${INDEX}.bz2 + if [ ! -e ${INDEX} -o ${INDEX}.bz2 -nt ${INDEX} ]; then \ + ${BUNZIP2} -dc ${INDEX}.bz2 > ${INDEX}.tmp && ${MV} -f ${INDEX}.tmp ${INDEX}; \ + fi .endif HOSTNAME!= hostname