diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-25 19:33:39 +0100 |
commit | a5b65c81168c90928784a1e92cda84ed5d6b9eb3 (patch) | |
tree | 4aa7483cd0ad7de54338afc8e7971417abe1dd81 /app-text/html401/html401-19991224-r4.ebuild | |
parent | e8f81810baa21f490d6910e8e2d424546b72a333 (diff) |
gentoo resync : 25.09.2019
Diffstat (limited to 'app-text/html401/html401-19991224-r4.ebuild')
-rw-r--r-- | app-text/html401/html401-19991224-r4.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app-text/html401/html401-19991224-r4.ebuild b/app-text/html401/html401-19991224-r4.ebuild index 8f75a577ac4d..2456ff58ee72 100644 --- a/app-text/html401/html401-19991224-r4.ebuild +++ b/app-text/html401/html401-19991224-r4.ebuild @@ -36,8 +36,10 @@ pkg_preinst() { } pkg_postinst() { - if [[ ! -f ${EROOT}/etc/sgml/html401.cat ]]; then - cp "${T}"/html401.cat "${EROOT}"/etc/sgml/ || die + local backup=${T}/html401.cat + local real=${EROOT}/etc/sgml/html401.cat + if ! cmp -s "${backup}" "${real}"; then + cp "${backup}" "${real}" || die fi sgml-catalog-r1_pkg_postinst } |