summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-26 14:21:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-26 14:21:00 -0600
commitd03024efe5f00d47601bf7c8238427c31d8365da (patch)
tree8da5aa250e6109e7e5c1971abf2fd5787aed6e95 /tools
parent4027783574a91b544540812dd91c09948c64eed0 (diff)
downloadkoffice-d03024efe5f00d47601bf7c8238427c31d8365da.tar.gz
koffice-d03024efe5f00d47601bf7c8238427c31d8365da.zip
Rename kde-config to tde-config
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/check_koffice_install.sh12
-rwxr-xr-xtools/scripts/check_msword_import.sh12
2 files changed, 12 insertions, 12 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
diff --git a/tools/scripts/check_msword_import.sh b/tools/scripts/check_msword_import.sh
index e7470df5..58475e1e 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