From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/linuxdoc-tools/
Date: Tue, 17 Sep 2019 07:12:02 +0000 (UTC) [thread overview]
Message-ID: <1568704315.07fe566315d6c84e57a0c0d4cba7c70eef691648.mgorny@gentoo> (raw)
commit: 07fe566315d6c84e57a0c0d4cba7c70eef691648
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 17 07:07:38 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 17 07:11:55 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07fe5663
app-text/linuxdoc-tools: Restore .cat backup for non-empty too
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
app-text/linuxdoc-tools/linuxdoc-tools-0.9.73-r1.ebuild | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.73-r1.ebuild b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.73-r1.ebuild
index 4f2129a2644..0639b6ae8b3 100644
--- a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.73-r1.ebuild
+++ b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.73-r1.ebuild
@@ -72,8 +72,10 @@ pkg_preinst() {
}
pkg_postinst() {
- if [[ ! -f ${EROOT}/etc/sgml/linuxdoc.cat ]]; then
- cp "${T}"/linuxdoc.cat "${EROOT}"/etc/sgml/ || die
+ local backup=${T}/linuxdoc.cat
+ local real=${EROOT}/etc/sgml/linuxdoc.cat
+ if ! cmp -s "${backup}" "${real}"; then
+ cp "${backup}" "${real}" || die
fi
latex-package_pkg_postinst
next reply other threads:[~2019-09-17 7:12 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-17 7:12 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-29 16:18 [gentoo-commits] repo/gentoo:master commit in: app-text/linuxdoc-tools/ Andreas K. Hüttel
2023-02-24 17:11 Arthur Zamarin
2023-02-24 17:11 Arthur Zamarin
2023-02-24 16:58 Arthur Zamarin
2019-12-10 10:31 David Seifert
2019-11-26 11:41 Agostino Sarubbo
2019-11-26 0:58 Thomas Deutschmann
2019-09-11 17:58 Michał Górny
2019-08-26 18:45 Sergei Trofimovich
2018-10-28 17:25 Sergei Trofimovich
2018-10-27 19:17 Mikle Kolyada
2018-10-05 21:28 Michał Górny
2017-07-14 21:21 Michał Górny
2016-09-24 13:42 Agostino Sarubbo
2016-05-24 3:06 Ian Delaney
2016-05-09 12:22 Ian Delaney
2016-01-13 14:10 Patrice Clement
2015-12-25 15:41 Agostino Sarubbo
2015-12-25 15:13 Agostino Sarubbo
2015-11-25 8:49 Patrice Clement
2015-11-25 8:49 Patrice Clement
2015-11-25 8:48 Patrice Clement
2015-11-23 17:37 Patrice Clement
2015-10-31 9:36 Ian Delaney
2015-10-21 6:51 Patrice Clement
2015-10-21 6:51 Patrice Clement
2015-10-13 21:25 Michał Górny
2015-10-06 16:11 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1568704315.07fe566315d6c84e57a0c0d4cba7c70eef691648.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox