#! /bin/sh /usr/share/dpatch/dpatch-run ## 02-include-mount-points.dpatch by Peter Colberg ## ## DP: Include mount points with --exclude-other-filesystems. @DPATCH@ diff -urNad rdiff-backup-1.1.5~/rdiff_backup/selection.py rdiff-backup-1.1.5/rdiff_backup/selection.py --- rdiff-backup-1.1.5~/rdiff_backup/selection.py 2006-01-01 03:46:05.000000000 +0100 +++ rdiff-backup-1.1.5/rdiff_backup/selection.py 2006-11-07 09:15:13.000000000 +0100 @@ -444,6 +444,7 @@ root_devloc = self.rpath.getdevloc() def sel_func(rp): if rp.getdevloc() == root_devloc: return None + elif rp.isdir() and rp.get_parent_rp().getdevloc() == root_devloc: return None else: return include sel_func.exclude = not include sel_func.name = "Match other filesystems"