aptosid fixes
This commit is contained in:
parent
edca90815b
commit
e35cc8d126
@ -1,11 +1,12 @@
|
||||
#!/bin/sh
|
||||
# @(#$Id: rclaptosidman,v 1.1 2008-06-09 09:12:05 dockes Exp $ (C) 2004 J.F.Dockes
|
||||
# @(#$Id: rclaptosidman,v 1.1 2010-12-11 12:40:05 dockes Exp $ (C) 2004 J.F.Dockes
|
||||
# Parts taken from Estraier:
|
||||
#================================================================
|
||||
# Estraier: a personal full-text search system
|
||||
# Copyright (C) 2003-2004 Mikio Hirabayashi
|
||||
#================================================================
|
||||
#================================================================
|
||||
# rclaptosidman
|
||||
# Strip the menu part from aptosid manual pages to improve search precision
|
||||
#================================================================
|
||||
|
||||
@ -50,17 +51,17 @@ iscmd()
|
||||
checkcmds()
|
||||
{
|
||||
for cmd in $*;do
|
||||
if iscmd $cmd
|
||||
then
|
||||
if iscmd $cmd
|
||||
then
|
||||
a=1
|
||||
else
|
||||
else
|
||||
senderror HELPERNOTFOUND $cmd
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
# show help message
|
||||
if test $# -ne 1 -o "$1" = "--help"
|
||||
if test $# -ne 1 -o "$1" = "--help"
|
||||
then
|
||||
echo "Convert a $filetype file to HTML text for Recoll indexing."
|
||||
echo "Usage: $progname [infile]"
|
||||
|
||||
BIN
src/qtgui/mtpics/aptosid-book.png
Executable file
BIN
src/qtgui/mtpics/aptosid-book.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
@ -156,8 +156,8 @@ text/plain = txt
|
||||
text/x-c = source
|
||||
text/x-c++ = source
|
||||
text/x-fictionbook = document
|
||||
text/x-html-aptosid-man = aptosid-book
|
||||
text/x-html-sidux-man = sidux-book
|
||||
text/x-html-aptosid-man = aptosid-manual
|
||||
text/x-mail = message
|
||||
text/x-man = document
|
||||
application/x-chm = document
|
||||
@ -195,8 +195,8 @@ text = \
|
||||
text/x-c \
|
||||
text/x-c++ \
|
||||
text/x-fictionbook \
|
||||
text/x-html-sidux-man \
|
||||
text/x-html-aptosid-man \
|
||||
text/x-html-sidux-man \
|
||||
text/x-man \
|
||||
text/x-python \
|
||||
text/x-shellscript
|
||||
|
||||
@ -128,14 +128,16 @@ recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \
|
||||
[~/.purple]
|
||||
.txt = text/x-purple-log
|
||||
|
||||
# Special handling of sidux/aptosid manual menu system
|
||||
[/usr/share/sidux-manual]
|
||||
.htm = text/x-html-sidux-man
|
||||
.html = text/x-html-sidux-man
|
||||
# Special handling of aptosid manual menu system
|
||||
[/usr/share/aptosid-manual]
|
||||
.htm = text/x-html-aptosid-man
|
||||
.html = text/x-html-aptosid-man
|
||||
|
||||
# Special handling of sidux manual menu system
|
||||
[/usr/share/sidux-manual]
|
||||
.htm = text/x-html-sidux-man
|
||||
.html = text/x-html-sidux-man
|
||||
|
||||
# Manual files. You may want to adjust the location for your system
|
||||
# We can't use the default text/troff type because this doesn't say
|
||||
# what macro set to use (groff -man)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user