#backuppc
If you find your backuppc log filling up with entries like the ones below, you can fix these warnings with one command thanks to a entry I found at http://www.nooblet.org/blog/2012/backuppc-use-of-qw-as-parentheses-is-deprecated/
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Storage/Text.pm line 302.
Use of qw(…) as parentheses is deprecated at /usr/share/backuppc/lib/BackupPC/Lib.pm line 1425.
grep -ril ‘qw(‘ /usr/share/backuppc/lib/BackupPC/|while read file; do sed -i “1i no warnings ‘deprecated’;” $file; done
Recent Comments