diff options
-rw-r--r-- | app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild (renamed from app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild) | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild b/app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild index 1c2bada62079..164eebbecc45 100644 --- a/app-text/xapian-omega/xapian-omega-1.2.23-r1.ebuild +++ b/app-text/xapian-omega/xapian-omega-1.2.23-r2.ebuild @@ -23,11 +23,24 @@ RDEPEND="${DEPEND}" src_install () { emake DESTDIR="${D}" install - #move docs to /usr/share/doc/${PF}. - mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}" - # Protect /etc/omega.conf echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega doenvd "${T}"/20xapian-omega dodoc AUTHORS ChangeLog INSTALL NEWS README TODO + + #move docs to /usr/share/doc/${PF}. + mv "${D}/usr/share/doc/xapian-omega" "${D}/usr/share/doc/${PF}" || die + + # Directory containing Xapian databases: + keepdir /var/lib/omega/data + + # Directory containing OmegaScript templates: + keepdir /var/lib/omega/templates + mv "${S}"/templates/* "${D}"/var/lib/omega/templates || die + + # Directory to write Omega logs to: + keepdir /var/log/omega + + # Directory containing any cdb files for the $lookup OmegaScript command: + keepdir /var/lib/omega/cdb } |