Files
sdcv/tests/t_list
Evgeniy Dushistov 3f241bb6bb 0.4.2 release
2007-08-14 18:18:20 +00:00

13 lines
285 B
Bash
Executable File

#!/bin/sh
ndicts=`../src/sdcv -l | wc -l`
let ndicts=ndicts-1
ncom=`find /usr/share/stardict/dic -name "*.ifo" | wc -l`
nspe=`find "${HOME}"/.stardict/dic -name "*.ifo" | wc -l`
let nmy=ncom+nspe
if [ $nmy -ne $ndicts ]; then
echo "should be: $nmy, we have: $ndicts" >&2
exit 1
fi