summaryrefslogtreecommitdiff
path: root/app-text/sgml-common/sgml-common-0.6.3-r7.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-09-25 19:33:39 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-09-28 08:31:11 +0100
commitad6182343997a405079870a2fe91c4e0c6b94595 (patch)
tree4aa7483cd0ad7de54338afc8e7971417abe1dd81 /app-text/sgml-common/sgml-common-0.6.3-r7.ebuild
parente8f81810baa21f490d6910e8e2d424546b72a333 (diff)
gentoo resync : 25.09.2019
Diffstat (limited to 'app-text/sgml-common/sgml-common-0.6.3-r7.ebuild')
-rw-r--r--app-text/sgml-common/sgml-common-0.6.3-r7.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-text/sgml-common/sgml-common-0.6.3-r7.ebuild b/app-text/sgml-common/sgml-common-0.6.3-r7.ebuild
index a9d675c8206a..18b9bdd5b860 100644
--- a/app-text/sgml-common/sgml-common-0.6.3-r7.ebuild
+++ b/app-text/sgml-common/sgml-common-0.6.3-r7.ebuild
@@ -62,7 +62,7 @@ pkg_preinst() {
pkg_postinst() {
# restore backed up files if necessary
for f in sgml-ent.cat sgml-docbook.cat; do
- if [[ ! -s ${EROOT}/etc/sgml/${f} ]]; then
+ if ! cmp -s "${T}/${f}" "${EROOT}/etc/sgml/${f}"; then
cp "${T}/${f}" "${EROOT}"/etc/sgml/ || die
fi
done