Opened 16 years ago

Closed 16 years ago

#5649 closed patch (fixed)

Fix sort routine in database restore script

Reported by: sphery <mtdean@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

The attached trivial patch fixes a typo in the database restore script's sort routine used to find the newest backup file when a filename is not specified. Without the fix, the restore script could choose to restore any available backup, so the backup file auto-selection is unusable until fixed.

In addition, the patch changes hard-coded script names in comments and --help output to match the new, shorter, easier to type script names Daniel used when he committed the scripts.

Attachments (1)

mythtv-5649-database_backup_restore-script_name_and_sort.patch (3.3 KB) - added by sphery <mtdean@…> 16 years ago.

Download all attachments as: .zip

Change History (2)

Changed 16 years ago by sphery <mtdean@…>

comment:1 Changed 16 years ago by paulh

Resolution: fixed
Status: newclosed

(In [18771]) Fix a typo in the database restore script sort routine and changes the script name in a few comments and --help output.

Patch from sphery. Fixes #5649.

Note: See TracTickets for help on using tickets.