summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2012-09-04 15:48:07 (GMT)
committerChristian Pointner <equinox@helsinki.at>2012-09-04 15:48:07 (GMT)
commit4339fab166441a8ebda37810a34543ce6a2ba6f3 (patch)
tree67a855ea565991c3e81b24cec93d347f2ca65fa7
parente73fe00e57c029476cf729246d0a13747324e9d1 (diff)
improved check for dn
-rwxr-xr-xrhimport-dn2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhimport-dn b/rhimport-dn
index 5a9fae0..0f35ae7 100755
--- a/rhimport-dn
+++ b/rhimport-dn
@@ -101,7 +101,7 @@ my $file = "";
my $out_file = "";
for my $entry ($files_feed->entries) {
if($entry->enclosure && $entry->enclosure->type eq "audio/mpeg") {
- if($entry->id =~ /dn([0-9-]+)-static/) {
+ if($entry->id =~ /^dn([0-9-]+)-static$/) {
next if($yc ne $1);
my $ff = File::Fetch->new(uri => $entry->enclosure->url);