diff options
Diffstat (limited to 'tools/scripts/check_koffice_install.sh')
-rwxr-xr-x | tools/scripts/check_koffice_install.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/scripts/check_koffice_install.sh b/tools/scripts/check_koffice_install.sh index d15876f7..3c637639 100755 --- a/tools/scripts/check_koffice_install.sh +++ b/tools/scripts/check_koffice_install.sh @@ -1,12 +1,12 @@ #!/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 instance=kword -applnks=`kde-config --path apps`:`kde-config --path xdgdata-apps` -services=`kde-config --path services` +applnks=`tde-config --path apps`:`tde-config --path xdgdata-apps` +services=`tde-config --path services` found=0 function checkname() @@ -76,7 +76,7 @@ fi echo stfound=0 -for dir in `kde-config --path servicetypes`; do +for dir in `tde-config --path servicetypes`; do echo Service Types dir $dir f=`echo $dir/kofficepart.desktop | sed -e 's,//,/,g'` if [ -f $f ]; then @@ -88,7 +88,7 @@ done if [ $stfound = 0 ]; then echo '****** kofficepart.desktop not found!' - kde-config --path servicetypes + tde-config --path servicetypes else echo if [ $found = 1 ]; then |