1 #!/bin/sh /usr/share/dpatch/dpatch-run
2 ## extractDS_path.dpatch by Sebastian Harl <sh@tokkee.org>
3 ##
4 ## DP: Set the path of extractDS.px to /usr/lib/collectd/utils/.
6 @DPATCH@
8 diff a/contrib/migrate-3-4.px b/contrib/migrate-3-4.px
9 --- a/contrib/migrate-3-4.px
10 +++ b/contrib/migrate-3-4.px
11 @@ -166,7 +166,7 @@ for (@Files)
12 my $src_ds = $src_dses->[$i];
13 $dest->{'type_instance'} = $type_instances->[$i];
14 $dest_filename = get_filename ($dest);
15 - print "./extractDS.px -i '$InDir/$orig_filename' -s '$src_ds' -o '$OutDir/$dest_filename' -d '$dst_ds'\n";
16 + print "/usr/lib/collectd/utils/extractDS.px -i '$InDir/$orig_filename' -s '$src_ds' -o '$OutDir/$dest_filename' -d '$dst_ds'\n";
17 }
18 }
19 elsif (exists ($TypeRename{$orig->{'type'}}))