diff -Nru testdrive-1.37/debian/changelog testdrive-1.38/debian/changelog --- testdrive-1.37/debian/changelog 2010-04-26 21:16:38.000000000 -0500 +++ testdrive-1.38/debian/changelog 2010-04-26 21:16:38.000000000 -0500 @@ -1,3 +1,9 @@ +testdrive (1.38-0ubuntu1) maverick; urgency=low + + * testdrive: support usb-creator-kde, LP: #570509 + + -- Dustin Kirkland Mon, 26 Apr 2010 21:04:57 -0500 + testdrive (1.37-0ubuntu1) lucid; urgency=low [ Andres Rodriguez ] diff -Nru testdrive-1.37/testdrive testdrive-1.38/testdrive --- testdrive-1.37/testdrive 2010-04-26 18:41:13.000000000 -0500 +++ testdrive-1.38/testdrive 2010-04-26 21:10:39.000000000 -0500 @@ -493,10 +493,13 @@ #run("du -sh --apparent-size %s %s 2>/dev/null || du -sh %s %s" % (CACHE_ISO, CACHE_IMG)) if DESKTOP == 1: - if os.path.exists("/usr/bin/usb-creator-gtk"): + if os.path.exists("/usr/bin/usb-creator-gtk") or os.path.exists("/usr/bin/usb-creator-kde"): input = raw_input("\nLaunch USB Startup Disk Creator for further testing of this ISO? [y/N] ") if input == "y" or input == "Y": - os.execv("/usr/bin/usb-creator-gtk", ["usb-creator-gtk", "-i", PATH_TO_ISO]) + if os.path.exists("/usr/bin/usb-creator-gtk"): + os.execv("/usr/bin/usb-creator-gtk", ["usb-creator-gtk", "-i", PATH_TO_ISO]) + else: + os.execv("/usr/bin/usb-creator-kde", ["usb-creator-kde", "-i", PATH_TO_ISO]) else: raw_input("\nPress to exit...")