From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 E07071581D3 for ; Sun, 2 Jun 2024 15:35:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2FDFE2B8A; Sun, 2 Jun 2024 15:35:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 5DE84E2B70 for ; Sun, 2 Jun 2024 15:35:11 +0000 (UTC) From: Ulrich Mueller To: Florian Schmaus Cc: gentoo-dev@lists.gentoo.org, pacho@gentoo.org Subject: Re: [gentoo-dev] [PATCH 1/4] readme.gentoo-r1.eclass: display readme if content changed (or fresh install) In-Reply-To: <20240602135716.66992-2-flow@gentoo.org> (Florian Schmaus's message of "Sun, 2 Jun 2024 15:57:06 +0200") References: <20240109083914.242561-1-flow@gentoo.org> <20240602135716.66992-1-flow@gentoo.org> <20240602135716.66992-2-flow@gentoo.org> Date: Sun, 02 Jun 2024 17:34:59 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 70456255-9e68-4555-980b-95820530cb81 X-Archives-Hash: c42caddfc84da0b62762c7285fc6315f --=-=-= Content-Type: text/plain >>>>> On Sun, 02 Jun 2024, Florian Schmaus wrote: > + ( > + insinto "${_GREADME_DOC_DIR}" > + > + doins "${_GREADME_TMP_FILE}" > + cksum --raw "${_GREADME_TMP_FILE}" | newins - "${_GREADME_HASH_FILENAME}" > + assert > + ) Why do you need that hash file? The old README file exists on the system, so couldn't you just compare the new one with it? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmZckSMPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4u+FQH/0FNmZT3+BC5u0O/swHDGDCMvnxBe1q87ENr LLywr1MDDtt2R45kYlIrXDz/DT3l6vPnCJvZbaylJPHKo44orZFStjg87zB0acmG nZYBB6zKc+IqdO0u/PWjrRnP5aXORuh7qpwEou96KCVZFs9nup/S/9FZ8ti63ipu 11Nn02lUFEY/E8A7WWlVKuEFx/Jo9C8xwaVII6zEjKXbZHvMgB4DyUPrBqlzOPUt rH/HwGQvP1L38NOf6oPAy5+94eycUQK5Vk58koVy6wk/dz1mXDMKpZvcuBlqnQIV YGCB+sAt0HZNsJu+MpjsDozonYL5uiZLYC42VjidXx9BNKR0LZo= =3DER -----END PGP SIGNATURE----- --=-=-=--