fix small compat issues for 1.24 and environment of reinstalled machine

This commit is contained in:
Jean-Francois Dockes 2018-02-09 18:16:13 +01:00
parent dc0241d53a
commit 0573e5a5a5
3 changed files with 7 additions and 2 deletions

View File

@ -6,7 +6,7 @@ topdir=`dirname $0`/..
initvariables $0 initvariables $0
( (
recollq author=gnumericAuthor recollq author:gnumericAuthor
recollq gnumerictext recollq gnumerictext
recollq gnumericcommentaire recollq gnumericcommentaire
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout ) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout

View File

@ -6,7 +6,7 @@ topdir=`dirname $0`/..
initvariables $0 initvariables $0
( (
recollq -q sheetgen '"Are you sure you want to delete this sheet"' recollq -q dir:rar '"Are you sure you want to delete this sheet"'
) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout ) 2> $mystderr | egrep -v '^Recoll query: ' > $mystdout

View File

@ -42,6 +42,11 @@ checkcmds()
checkcmds recollq recollindex pxattr xadump || exit 1 checkcmds recollq recollindex pxattr xadump || exit 1
# Unset DISPLAY because xdg-mime may be affected by the desktop
# environment on the X server
unset DISPLAY
export LC_ALL=en_US.UTF-8
makeindex() { makeindex() {
echo "Zeroing Index" echo "Zeroing Index"
rm -rf $RECOLL_CONFDIR/xapiandb $RECOLL_CONFDIR/aspdict.*.rws rm -rf $RECOLL_CONFDIR/xapiandb $RECOLL_CONFDIR/aspdict.*.rws