#!/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