summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-03-04 18:48:51 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-03-04 19:14:37 +0100
commitcd2a86366e58f9c483910b7081544350c1fa7f78 (patch)
treeadb796eaf7afa67d52274e510f9f82e1b49c8b90 /app-misc/recoll
parentapp-misc/recoll: 1.22.4 version bump (diff)
downloadgentoo-cd2a86366e58f9c483910b7081544350c1fa7f78.tar.gz
gentoo-cd2a86366e58f9c483910b7081544350c1fa7f78.tar.bz2
gentoo-cd2a86366e58f9c483910b7081544350c1fa7f78.zip
app-misc/recoll: Show upgrade message in pkg_setup on occasion
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-misc/recoll')
-rw-r--r--app-misc/recoll/recoll-1.22.4.ebuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/app-misc/recoll/recoll-1.22.4.ebuild b/app-misc/recoll/recoll-1.22.4.ebuild
index 277e650de906..6c339c6b1be0 100644
--- a/app-misc/recoll/recoll-1.22.4.ebuild
+++ b/app-misc/recoll/recoll-1.22.4.ebuild
@@ -47,6 +47,14 @@ RDEPEND="${COMMON_DEPEND}
"
pkg_setup() {
+ if has_version "<app-misc/recoll-1.20"; then
+ einfo "Installing ${PV} over an 1.19 index is possible,"
+ einfo "but there have been small changes in the way"
+ einfo "compound words are indexed. So it is best to reset"
+ einfo "the index. The best method to reset the index is to"
+ einfo "quit all recoll programs and delete the index directory"
+ einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
+ fi
if use inotify; then
CONFIG_CHECK="~INOTIFY_USER"
check_extra_config
@@ -94,14 +102,6 @@ src_install() {
}
pkg_postinst() {
-
- einfo "Installing 1.22 over an 1.19 index is possible,"
- einfo "but there have been small changes in the way"
- einfo "compound words are indexed. So it is best to reset"
- einfo "the index. The best method to reset the index is to"
- einfo "quit all recoll programs and delete the index directory"
- einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex"
- einfo ""
einfo "In order to extract the full functionality of "
einfo "recoll, the following packages should be installed "
einfo "to get the corresponding document support."