You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
439 B
28 lines
439 B
14 years ago
|
#!/bin/bash
|
||
|
|
||
|
#
|
||
|
# This script is part of the KGtk package.
|
||
|
#
|
||
|
# (C) Craig Drummond, 2007
|
||
|
#
|
||
|
# Craig.Drummond@lycos.co.uk
|
||
|
#
|
||
|
# --
|
||
|
# Released under the GPL v2 or later
|
||
|
# --
|
||
|
#
|
||
|
# Wrapper script for kdialogd that removes any LD_PRELOAD. This stops
|
||
|
# KDialogD from trying to connect to itself!
|
||
|
#
|
||
|
|
||
|
LD_PRELOAD=
|
||
|
|
||
|
for app in $prefer kdialogd4 kdialogd3 ; do
|
||
|
which $app > /dev/null
|
||
|
if [ $? -eq 0 ] ; then
|
||
|
$app
|
||
|
break;
|
||
|
fi
|
||
|
done
|
||
|
|