1 From 9f31f438d128035a0b38122f50de713dece12a95 Mon Sep 17 00:00:00 2001
2 From: Adaptee <adaptee@gmail.com>
3 Date: Mon, 3 Jan 2011 16:23:01 +0800
4 Subject: [PATCH] change the path of parted to /usr/sbin/parted, to suit with archlinux
7 bin/usb-creator-helper | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
10 diff --git a/bin/usb-creator-helper b/bin/usb-creator-helper
11 index 08c0811..2427b1f 100755
12 --- a/bin/usb-creator-helper
13 +++ b/bin/usb-creator-helper
14 @@ -120,7 +120,7 @@ class USBCreator(dbus.service.Object):
15 num = deviceobj.Get(device, 'partition-number',
16 dbus_interface=PROPS_IFACE)
18 - popen(['/sbin/parted', parent, 'set', str(num), 'boot', 'on'])
19 + popen(['/usr/sbin/parted', parent, 'set', str(num), 'boot', 'on'])
20 except USBCreatorProcessException:
21 # Don't worry about not being able to re-read the partition table.
22 # TODO: As this will still be a problem for KVM users, this should