openbsd-ports/sysutils/nut/patches/patch-tools_nut-usbinfo_pl
sthen 8103eadcb9 update to NUT 2.6.2 and add rc.d scripts
- thanks ajacoutot@ for looking over the scripts

- note that there has been some major work on apcsmart; in the event
of problems the old driver is still available as apcsmart-old
2011-09-19 15:59:57 +00:00

16 lines
433 B
Plaintext

$OpenBSD: patch-tools_nut-usbinfo_pl,v 1.1 2011/09/19 15:59:57 sthen Exp $
skip backup copy of patched files
--- tools/nut-usbinfo.pl.orig Mon Sep 19 09:32:58 2011
+++ tools/nut-usbinfo.pl Mon Sep 19 09:34:32 2011
@@ -211,7 +211,7 @@ sub gen_usb_files
sub find_usbdevs
{
- return $File::Find::prune = 1 if $_ eq '.svn';
+ return $File::Find::prune = 1 if $_ eq '.svn' or m/.*\.orig/;
my $nameFile=$_;
my $lastComment="";