#!/bin/sh

for i in gst-plugins-bad*.tar.xz ; do
   case $i in *patched*) continue ;; esac
   test -f ${i//.tar./-patched.tar.} && continue
   bash gstreamer-plugins-bad-patch-source.sh $i
done
