summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/sgml-common')
-rw-r--r--app-text/sgml-common/sgml-common-0.6.3-r7.ebuild4
1 files changed, 2 insertions, 2 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 e1b921979e4c..1910a7b6edbf 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
@@ -73,7 +73,7 @@ pkg_postinst() {
cat >> "${EROOT}/etc/sgml/sgml-docbook.cat" <<-EOF
CATALOG "${EPREFIX}/etc/sgml/sgml-ent.cat"
EOF
- eend
+ eend ${?}
fi
sgml-catalog-r1_pkg_postinst
@@ -84,7 +84,7 @@ pkg_postrm() {
ebegin "Removing sgml-ent.cat from /etc/sgml/sgml-docbook.cat"
sed -i -e '/sgml-ent\.cat/d' \
"${EROOT}"/etc/sgml/sgml-docbook.cat
- eend
+ eend ${?}
if [[ ! -s ${EROOT}/etc/sgml/sgml-docbook.cat ]]; then
rm -f "${EROOT}"/etc/sgml/sgml-docbook.cat
fi