From b2714458565cac46ec1a79311fec5d4baef415e2 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 7 Feb 2014 21:21:03 +0100 Subject: Remove unnecessary test for DAT/STRASSEN.DAT --- src/makecolumns.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/makecolumns.sh b/src/makecolumns.sh index 4ed1f86..6f6f9d9 100755 --- a/src/makecolumns.sh +++ b/src/makecolumns.sh @@ -28,8 +28,6 @@ main() { mkdir -p ../work_`basename ${1#white_}` cd ../work_`basename ${1#white_}` || exit 1 - unset strassen; [ -f $1/dat/strassen.dat ] && strassen=$1/dat/strassen.dat - if [ -f "$1/phonebook.db" ]; then handle_new_format $1 elif [ -f $1/[Dd][Aa][Tt]/[Tt][Ee][Ii][Ll][Nn].[Dd][Aa][Tt] ]; then @@ -81,6 +79,7 @@ do_processfile_old() { } handle_old_format() { + echo "Working on $1. Detected pre-2004 Telefonbuch version." # Extract teiln.dat do_decompress_old $1/[Dd][Aa][Tt]/[Tt][Ee][Ii][Ll][Nn].[Dd][Aa][Tt] "teiln.dat" -- cgit v1.2.3