Arrange so that we dont need recoll.conf.in any more.
--HG-- branch : WINDOWSPORT
This commit is contained in:
parent
bd58ffb920
commit
776f4369b9
@ -1322,12 +1322,14 @@ string RclConfig::findFilter(const string &icmd) const
|
||||
if (access(cmd.c_str(), X_OK) == 0)
|
||||
return cmd;
|
||||
}
|
||||
|
||||
// Filters dir as configuration parameter?
|
||||
if (getConfParam(string("filtersdir"), cmd)) {
|
||||
cmd = path_cat(cmd, icmd);
|
||||
if (access(cmd.c_str(), X_OK) == 0)
|
||||
return cmd;
|
||||
}
|
||||
cmd = path_tildexpand(cmd);
|
||||
if (access(cmd.c_str(), X_OK) == 0)
|
||||
return cmd;
|
||||
}
|
||||
|
||||
// Filters dir as datadir subdir. Actually the standard case, but
|
||||
// this is normally the same value found in config file (previous step)
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# (C) 2004 J.F.Dockes. License: GPL
|
||||
#
|
||||
# Recoll default configuration file. This typically lives in
|
||||
# @prefix@/share/recoll/examples and provides default values. You can
|
||||
# $prefix/share/recoll/examples and provides default values. You can
|
||||
# override selected parameters by adding assigments to
|
||||
# ~/.recoll/recoll.conf (or $RECOLL_CONFDIR/recoll.conf)
|
||||
#
|
||||
@ -199,12 +199,13 @@ maxfsoccuppc = 0
|
||||
idxflushmb = 10
|
||||
|
||||
# Place to search for executable filters. If RECOLL_FILTERSDIR is set in
|
||||
# the environment, we use it instead
|
||||
filtersdir = @prefix@/share/recoll/filters
|
||||
# the environment, we use it instead. Defaults to $prefix/share/recoll/filters
|
||||
# filtersdir = /path/to/my/filters
|
||||
|
||||
# Place to search for icons. The only reason to change this would be if you
|
||||
# want to change the icons displayed in the result list
|
||||
iconsdir = @prefix@/share/recoll/images
|
||||
# want to change the icons displayed in the result list.
|
||||
# Defaults to $prefix/share/recoll/images
|
||||
# iconsdir = /path/to/my/icons
|
||||
|
||||
# Should we use the system's 'file -i' command as a final step in file type
|
||||
# identification ? This may be useful, but will usually cause the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user