Fixed file type detection and path for installing HTML files in some cases
This commit is contained in:
parent
bfb8df0c82
commit
0922cccc3a
@ -89,11 +89,11 @@ while [ $# -gt 0 ]; do
|
||||
|
||||
#determine the type
|
||||
ext="${target##*.}"
|
||||
ext="${ext#.}"
|
||||
ext="${ext##.}"
|
||||
case "$ext" in
|
||||
html)
|
||||
XSL="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"
|
||||
instdir="$DATADIR/doc/$ext/${target%%.*}"
|
||||
instdir="$DATADIR/doc/$ext/$PACKAGE"
|
||||
;;
|
||||
1|2|3|4|5|6|7|8|9)
|
||||
XSL="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
|
||||
|
Loading…
Reference in New Issue
Block a user