| Jerry Zhang | b15c122 | 2017-06-13 15:04:44 -0700 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |||||
| 3 | # Script to compare the USB ID list from linux-usb | ||||
| 4 | # with the internal list of libmtp. | ||||
| 5 | |||||
| 6 | WGET=`which wget` | ||||
| 7 | if [ "x$WGET" != "x" ]; then | ||||
| 8 | wget -O usb.ids http://www.linux-usb.org/usb.ids | ||||
| 9 | examples/hotplug -i > usb.ids-libmtp | ||||
| 10 | echo "OK now compare usb.ids and usb.ids-libmtp..." | ||||
| 11 | else | ||||
| 12 | echo "Could not sync to linux-usb USB ID list. No WGET." | ||||
| 13 | fi | ||||