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