6
# Get sources from gphoto2 SVN
8
if [ "x$WGET" != "x" ]; then
9
wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp.c
10
mv tmpfile ptp.c.gphoto2
11
wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp.h
12
mv tmpfile ptp.h.gphoto2
13
wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/ptp-pack.c
14
mv tmpfile ptp-pack.c.gphoto2
15
wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/library.c
16
mv tmpfile library.c.gphoto2
17
wget -O tmpfile http://gphoto.svn.sourceforge.net/viewvc/*checkout*/gphoto/trunk/libgphoto2/camlibs/ptp2/music-players.h
18
mv tmpfile music-players.h.gphoto2
20
echo "Could not sync to gphoto2. No WGET."