diff options
Diffstat (limited to 'tools/scripts/check_msword_import.sh')
-rwxr-xr-x | tools/scripts/check_msword_import.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/scripts/check_msword_import.sh b/tools/scripts/check_msword_import.sh index e7470df53..58475e1e4 100755 --- a/tools/scripts/check_msword_import.sh +++ b/tools/scripts/check_msword_import.sh @@ -1,16 +1,16 @@ #!/bin/bash -if ! kde-config ; then - echo 'kde-config not found ! Aborting. You need a more recent KDE, or to fix your $PATH.' +if ! tde-config ; then + echo 'tde-config not found ! Aborting. You need a more recent KDE, or to fix your $PATH.' exit 1 fi IFS=: echo -n "KDE prefixes: " -kde-config --prefix +tde-config --prefix # Check for the binary found=0 -exedirs=`kde-config --path exe` +exedirs=`tde-config --path exe` for dir in $exedirs; do if [ -f "$dir/kword" ]; then echo "kword found in $dir" @@ -22,7 +22,7 @@ if [ $found -eq 0 ]; then echo "ERROR: kword not found - looked at $exedirs" fi -mimelnks=`kde-config --path mime` +mimelnks=`tde-config --path mime` # Relevant existing mimetypes mimes="" @@ -80,7 +80,7 @@ if [ $foundmagicfile -eq 0 ]; then echo "ERROR: Magic file not found $magic" fi -for dir in `kde-config --path services`; do +for dir in `tde-config --path services`; do echo Services dir $dir for mime in $mimes; do grep "Import=.*$mime" $dir/*.desktop |