Ticket #5975: mythtv-5975-restore-exclude_script_from_file_selection.patch

File mythtv-5975-restore-exclude_script_from_file_selection.patch, 887 bytes (added by sphery <mtdean@…>, 17 years ago)
  • programs/scripts/database/mythconverg_restore.pl

    old new  
    1313
    1414# Script info
    1515    $NAME           = 'MythTV Database Restore Script';
    16     $VERSION        = '1.0.2';
     16    $VERSION        = '1.0.3';
    1717
    1818# Some variables we'll use here
    1919    our ($username, $homedir, $mythconfdir, $database_information_file);
     
    769769                }
    770770            }
    771771            my @files = <$backup_conf{'directory'}/$backup_conf{'filename'}*>;
     772            @files = grep(!/.*mythconverg_(backup|restore).pl$/, @files);
    772773            my $num_files = @files;
    773774            if ($num_files < 1)
    774775            {