summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2018-06-23 23:33:26 +0200
committerAmy Liffey <amynka@gentoo.org>2018-06-23 23:34:07 +0200
commit739eb2c199952a382ccad6ebd9147fe75d61eec6 (patch)
tree75edb4e699478923cd0dfcf1be27ca0dd3097628 /dev-scheme
parentlicenses/CC-BY*-4.0: Sync from upstream, typo fix. (diff)
downloadgentoo-739eb2c199952a382ccad6ebd9147fe75d61eec6.tar.gz
gentoo-739eb2c199952a382ccad6ebd9147fe75d61eec6.tar.bz2
gentoo-739eb2c199952a382ccad6ebd9147fe75d61eec6.zip
dev-scheme/scm: add ending newline
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/scm/scm-5.5.6-r4.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev-scheme/scm/scm-5.5.6-r4.ebuild b/dev-scheme/scm/scm-5.5.6-r4.ebuild
index 2d3d39bbaeb..6496a36b4f9 100644
--- a/dev-scheme/scm/scm-5.5.6-r4.ebuild
+++ b/dev-scheme/scm/scm-5.5.6-r4.ebuild
@@ -161,9 +161,9 @@ regen_catalog() {
}
pkg_postinst() {
- [ "${ROOT}" == "/" ] && regen_catalog
+ [[ -z ${ROOT%/} ]] && regen_catalog
}
pkg_config() {
regen_catalog
-} \ No newline at end of file
+}