From 6643b32792fef191fb86bc8a5634f0c52c60cf60 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Dec 2012 15:43:51 -0400 Subject: fix preferred content definition for the backup group Broken by commit 2a04e215e10469ee3bab5d1a5d6d76b0c35cc46c, which made empty preferred content strings match nothing, rather than everything. --- Types/StandardGroups.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Types') diff --git a/Types/StandardGroups.hs b/Types/StandardGroups.hs index c1ea1fd99..bdc8c4b66 100644 --- a/Types/StandardGroups.hs +++ b/Types/StandardGroups.hs @@ -36,6 +36,6 @@ descStandardGroup FullArchiveGroup = "full archive: archives all files not archi preferredContent :: StandardGroup -> String preferredContent ClientGroup = "exclude=*/archive/* and exclude=archive/*" preferredContent TransferGroup = "not (inallgroup=client and copies=client:2) and " ++ preferredContent ClientGroup -preferredContent BackupGroup = "" -- all content is preferred +preferredContent BackupGroup = "include=*" preferredContent SmallArchiveGroup = "(include=*/archive/* or include=archive/*) and " ++ preferredContent FullArchiveGroup preferredContent FullArchiveGroup = "not (copies=archive:1 or copies=smallarchive:1)" -- cgit v1.2.3