Sanity check (perl module Text::Unidecode)
This commit is contained in:
parent
e16b8ff4a9
commit
4ef24fc333
8
atom
8
atom
@ -295,6 +295,14 @@ then
|
|||||||
disablevideo=1
|
disablevideo=1
|
||||||
(( sanitywarn++ ))
|
(( sanitywarn++ ))
|
||||||
fi
|
fi
|
||||||
|
if (( textunidecodeneeded )) && ! perl -MText::Unidecode -e 'exit;' 2>/dev/null
|
||||||
|
then
|
||||||
|
echo "[WARNING] Perl module Text::Unidecode is not available
|
||||||
|
Renaming to ASCII-only disabled" >&2
|
||||||
|
unset destinationascii
|
||||||
|
destinationascii=0
|
||||||
|
(( sanitywarn++ ))
|
||||||
|
fi
|
||||||
if (( sanityfail ))
|
if (( sanityfail ))
|
||||||
then
|
then
|
||||||
echo "
|
echo "
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user