File pre_checkin.sh of Package gstreamer-0_10-plugins-farsight
#!/bin/sh
for i in gst-plugins-farsight*.tar.* ; do
case $i in *patched*) continue ;; esac
test -f ${i//.tar./-patched.tar.} && continue
bash gstreamer-0_10-plugins-farsight-patch-source.sh $i
done