summaryrefslogtreecommitdiff
path: root/dh_installgsettings
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installgsettings')
-rwxr-xr-xdh_installgsettings12
1 files changed, 5 insertions, 7 deletions
diff --git a/dh_installgsettings b/dh_installgsettings
index fcf4470e..faedcb7c 100755
--- a/dh_installgsettings
+++ b/dh_installgsettings
@@ -10,6 +10,8 @@ use strict;
use warnings;
use Debian::Debhelper::Dh_Lib;
+our $VERSION = DH_BUILTIN_VERSION;
+
=head1 SYNOPSIS
B<dh_installgsettings> [S<I<debhelper options>>] [B<--priority=<number>>]
@@ -76,7 +78,9 @@ 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 = qx_cmd('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");
}
@@ -98,9 +102,3 @@ Josselin Mouette <joss@debian.org>
=cut
-
-# Local Variables:
-# indent-tabs-mode: t
-# tab-width: 4
-# cperl-indent-level: 4
-# End: