aptosid fixes
This commit is contained in:
parent
edca90815b
commit
e35cc8d126
@ -1,11 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/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:
|
# Parts taken from Estraier:
|
||||||
#================================================================
|
#================================================================
|
||||||
# Estraier: a personal full-text search system
|
# Estraier: a personal full-text search system
|
||||||
# Copyright (C) 2003-2004 Mikio Hirabayashi
|
# Copyright (C) 2003-2004 Mikio Hirabayashi
|
||||||
#================================================================
|
#================================================================
|
||||||
#================================================================
|
#================================================================
|
||||||
|
# rclaptosidman
|
||||||
# Strip the menu part from aptosid manual pages to improve search precision
|
# Strip the menu part from aptosid manual pages to improve search precision
|
||||||
#================================================================
|
#================================================================
|
||||||
|
|
||||||
@ -50,17 +51,17 @@ iscmd()
|
|||||||
checkcmds()
|
checkcmds()
|
||||||
{
|
{
|
||||||
for cmd in $*;do
|
for cmd in $*;do
|
||||||
if iscmd $cmd
|
if iscmd $cmd
|
||||||
then
|
then
|
||||||
a=1
|
a=1
|
||||||
else
|
else
|
||||||
senderror HELPERNOTFOUND $cmd
|
senderror HELPERNOTFOUND $cmd
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# show help message
|
# show help message
|
||||||
if test $# -ne 1 -o "$1" = "--help"
|
if test $# -ne 1 -o "$1" = "--help"
|
||||||
then
|
then
|
||||||
echo "Convert a $filetype file to HTML text for Recoll indexing."
|
echo "Convert a $filetype file to HTML text for Recoll indexing."
|
||||||
echo "Usage: $progname [infile]"
|
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-c++ = source
|
text/x-c++ = source
|
||||||
text/x-fictionbook = document
|
text/x-fictionbook = document
|
||||||
|
text/x-html-aptosid-man = aptosid-book
|
||||||
text/x-html-sidux-man = sidux-book
|
text/x-html-sidux-man = sidux-book
|
||||||
text/x-html-aptosid-man = aptosid-manual
|
|
||||||
text/x-mail = message
|
text/x-mail = message
|
||||||
text/x-man = document
|
text/x-man = document
|
||||||
application/x-chm = document
|
application/x-chm = document
|
||||||
@ -195,8 +195,8 @@ text = \
|
|||||||
text/x-c \
|
text/x-c \
|
||||||
text/x-c++ \
|
text/x-c++ \
|
||||||
text/x-fictionbook \
|
text/x-fictionbook \
|
||||||
text/x-html-sidux-man \
|
|
||||||
text/x-html-aptosid-man \
|
text/x-html-aptosid-man \
|
||||||
|
text/x-html-sidux-man \
|
||||||
text/x-man \
|
text/x-man \
|
||||||
text/x-python \
|
text/x-python \
|
||||||
text/x-shellscript
|
text/x-shellscript
|
||||||
|
|||||||
@ -128,14 +128,16 @@ recoll_noindex = .tar.gz .tgz .tar.bz2 .tbz .log.gz .md5 .map \
|
|||||||
[~/.purple]
|
[~/.purple]
|
||||||
.txt = text/x-purple-log
|
.txt = text/x-purple-log
|
||||||
|
|
||||||
# Special handling of sidux/aptosid manual menu system
|
# Special handling of aptosid manual menu system
|
||||||
[/usr/share/sidux-manual]
|
|
||||||
.htm = text/x-html-sidux-man
|
|
||||||
.html = text/x-html-sidux-man
|
|
||||||
[/usr/share/aptosid-manual]
|
[/usr/share/aptosid-manual]
|
||||||
.htm = text/x-html-aptosid-man
|
.htm = text/x-html-aptosid-man
|
||||||
.html = 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
|
# 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
|
# We can't use the default text/troff type because this doesn't say
|
||||||
# what macro set to use (groff -man)
|
# what macro set to use (groff -man)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user