kgtk-qt3
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.

kdialogd-wrapper 439B

123456789101112131415161718192021222324252627
  1. #!/bin/bash
  2. #
  3. # This script is part of the KGtk package.
  4. #
  5. # (C) Craig Drummond, 2007
  6. #
  7. # Craig.Drummond@lycos.co.uk
  8. #
  9. # --
  10. # Released under the GPL v2 or later
  11. # --
  12. #
  13. # Wrapper script for kdialogd that removes any LD_PRELOAD. This stops
  14. # KDialogD from trying to connect to itself!
  15. #
  16. LD_PRELOAD=
  17. for app in $prefer kdialogd4 kdialogd3 ; do
  18. which $app > /dev/null
  19. if [ $? -eq 0 ] ; then
  20. $app
  21. break;
  22. fi
  23. done