Only create manpages if a man dir is present
This commit is contained in:
parent
c4f462c7ba
commit
39348b938d
@ -283,8 +283,8 @@ generic_pack()
|
|||||||
# Verify if $1 is defined
|
# Verify if $1 is defined
|
||||||
local arg1=${1-'x'}
|
local arg1=${1-'x'}
|
||||||
case $arg1 in
|
case $arg1 in
|
||||||
'x') setdir $stagedir$topinstalldir/man
|
'x') if [ $catman -eq 1 -a -d $stagedir$topinstalldir/man ]; then
|
||||||
if [ $catman -eq 1 ]; then
|
setdir $stagedir$topinstalldir/man
|
||||||
fix_man
|
fix_man
|
||||||
fi
|
fi
|
||||||
setdir $stagedir$topinstalldir
|
setdir $stagedir$topinstalldir
|
||||||
@ -292,8 +292,8 @@ generic_pack()
|
|||||||
create_spec
|
create_spec
|
||||||
make_dist
|
make_dist
|
||||||
;;
|
;;
|
||||||
'shortroot') setdir $stagedir/man
|
'shortroot') if [ $catman -eq 1 -a -d $stagedir/man ]; then
|
||||||
if [ $catman -eq 1 ]; then
|
setdir $stagedir/man
|
||||||
fix_man
|
fix_man
|
||||||
fi
|
fi
|
||||||
setdir stage
|
setdir stage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user