summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/notmuch/notmuch-0.22.1.ebuild')
-rw-r--r--net-mail/notmuch/notmuch-0.22.1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/net-mail/notmuch/notmuch-0.22.1.ebuild b/net-mail/notmuch/notmuch-0.22.1.ebuild
index 28aab241a186..574809166b8e 100644
--- a/net-mail/notmuch/notmuch-0.22.1.ebuild
+++ b/net-mail/notmuch/notmuch-0.22.1.ebuild
@@ -93,8 +93,10 @@ pkg_setup() {
src_unpack() {
unpack "${P}".tar.gz
- mkdir -p "${S}"/test/test-databases || die
- cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die
+ if use test; then
+ mkdir -p "${S}"/test/test-databases || die
+ cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die
+ fi
}
src_prepare() {