fix (again) creation of non-existing Device dirs
authorChristophe Fergeau <cfergeau@redhat.com>
Sun, 17 Jul 2011 07:27:14 +0000 (09:27 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Sun, 17 Jul 2011 13:20:44 +0000 (15:20 +0200)
commit5025c1038f81abbc5a1b783690798fc66be33810
treeb67abb222d8e99b596d87efbba68489403720ca7
parent99938096229ec6259e7586bfb94a371db5381887
fix (again) creation of non-existing Device dirs

Recent iPods (Shuffle, iOS devices, ...) don't have a Device/
subdirectory in their control dir, so we need to create it
ourselves before trying to write a SysInfoExtended file to it.
However, due to a "typo", we were creating
iPod_Control/iTunes/Device/ instead of iPod_Control/Device. This
commit fixes this, even though in the long run we should stop
using the iphone-set-info callout for iOS devices and read the
needed information directly from the device.
tools/generic-callout.c
tools/read-sysinfoextended.c