From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1481473-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9F21A15800F for <garchives@archives.gentoo.org>; Sat, 28 Jan 2023 00:09:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDB72E089A; Sat, 28 Jan 2023 00:09:01 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BF7F5E089A for <gentoo-commits@lists.gentoo.org>; Sat, 28 Jan 2023 00:09:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E47A7341070 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Jan 2023 00:09:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 90EC97F8 for <gentoo-commits@lists.gentoo.org>; Sat, 28 Jan 2023 00:08:58 +0000 (UTC) From: "William Hubbs" <williamh@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org> Message-ID: <1674864532.0ae2af9e3288d4e8519d42ff7caf5eb621ce2e69.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/baselayout/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/baselayout/baselayout-2.11.ebuild X-VCS-Directories: sys-apps/baselayout/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 0ae2af9e3288d4e8519d42ff7caf5eb621ce2e69 X-VCS-Branch: master Date: Sat, 28 Jan 2023 00:08:58 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 79f98830-149c-42d5-aea3-e8f06378ee35 X-Archives-Hash: 37d7cd72030e95a64bb902cb68397516 commit: 0ae2af9e3288d4e8519d42ff7caf5eb621ce2e69 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sat Jan 28 00:08:52 2023 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Sat Jan 28 00:08:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ae2af9e sys-apps/baselayout: typo fix Signed-off-by: William Hubbs <williamh <AT> gentoo.org> sys-apps/baselayout/baselayout-2.11.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-apps/baselayout/baselayout-2.11.ebuild b/sys-apps/baselayout/baselayout-2.11.ebuild index 481c65c7b9c3..845f7f7a8dfb 100644 --- a/sys-apps/baselayout/baselayout-2.11.ebuild +++ b/sys-apps/baselayout/baselayout-2.11.ebuild @@ -23,11 +23,11 @@ RDEPEND="!sys-apps/baselayout-prefix" pkg_pretend() { local stop= - if [[ ! -L ${EROOT}/var/run && -d ${EROOT}/var/run ]]; then + if [[ ! -L ${EROOT}/var/run ]] && [[ -d ${EROOT}/var/run ]]; then eerror "${EROOT}/var/run must be a symlink to ${EROOT}/run" stop=1 fi - if [[ ! -L ${EROOT}/var/lock && -d ${EROOT}/var/lock ]]; then + if [[ ! -L ${EROOT}/var/lock ]] && [[ -d ${EROOT}/var/lock ]]; then eerror "${EROOT}/var/lock must be a symlink to ${EROOT}/run/lock" stop=1 fi