patch-get_iplayer 578 B

12345678910111213141516171819
  1. $OpenBSD: patch-get_iplayer,v 1.80 2017/05/18 13:27:14 sthen Exp $
  2. Index: get_iplayer
  3. --- get_iplayer.orig
  4. +++ get_iplayer
  5. @@ -1,4 +1,4 @@
  6. -#!/usr/bin/env perl
  7. +#!/usr/bin/perl
  8. #
  9. # get_iplayer - Lists and records BBC iPlayer TV and radio programmes
  10. #
  11. @@ -335,6 +335,7 @@ if ( $opt->{encodinglocale} =~ /UTF-?8/i ) {
  12. }
  13. # Copy a few options over to opt so that logger works
  14. +$opt->{packagemanager}= 'pkg_add';
  15. $opt->{debug} = $opt->{verbose} = 1 if $opt_pre->{debug};
  16. $opt->{verbose} = 1 if $opt_pre->{verbose};
  17. $opt->{silent} = $opt->{quiet} = 1 if $opt_pre->{silent};