]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_installgsettings: Correct bug in use of find that caused some gsettings files...
authorJoey Hess <joey@kitenet.net>
Thu, 28 Apr 2011 01:33:48 +0000 (21:33 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 28 Apr 2011 01:33:48 +0000 (21:33 -0400)
debian/changelog
dh_installgsettings

index 04a5d97c07c5557cddb0f61f4dcdd708327f6a74..ad0c7675ea07b8e053afbaa432d877975e82d97e 100644 (file)
@@ -1,6 +1,8 @@
 debhelper (8.1.5) UNRELEASED; urgency=low
 
   * dh_ucf: New command, contributed by Jeroen Schot. Closes: #213078
+  * dh_installgsettings: Correct bug in use of find that caused some 
+    gsettings files to be missed. Closes: #624377
 
  -- Joey Hess <joeyh@debian.org>  Mon, 25 Apr 2011 19:30:01 -0400
 
index df38e5114eeccb51784c93c6c4e1896be5bf015b..8500706cdff096ca6dad2d0a656fe11ee6537c84 100755 (executable)
@@ -72,7 +72,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
        if (-d "$gsettings_schemas_dir") {
                # Get a list of the schemas
-               my $schemas = `find $gsettings_schemas_dir -type f -name \\*.xml -o -name \\*.override -printf '%P '`;
+               my $schemas = `find $gsettings_schemas_dir -type f \\( -name \\*.xml -o -name \\*.override \\) -printf '%P '`;
                if ($schemas ne '') {
                        addsubstvar($package, "misc:Depends", "dconf-gsettings-backend | gsettings-backend");
                }