summaryrefslogtreecommitdiff
path: root/scripts/dd-list.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dd-list.pl')
-rwxr-xr-xscripts/dd-list.pl8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/dd-list.pl b/scripts/dd-list.pl
index 3947eef0..85581193 100755
--- a/scripts/dd-list.pl
+++ b/scripts/dd-list.pl
@@ -241,7 +241,9 @@ if ($use_dctrl) {
exec => ['dpkg-query', '-W', '-f', '${source:Version}', 'apt'],
to_string => \$apt_version,
wait_child => 1,
- nocheck => 1
+ no_check => 1,
+ # XXX: Backwards compatibility, remove after dpkg 1.24.0.
+ nocheck => 1,
);
my $useAptHelper = 0;
@@ -262,7 +264,9 @@ if ($use_dctrl) {
to_string => \$sources,
error_to_string => \$err,
wait_child => 1,
- nocheck => 1
+ no_check => 1,
+ # XXX: Backwards compatibility, remove after dpkg 1.24.0.
+ nocheck => 1,
);
if ($? >> 8) {
die "Unable to get list of Sources files from apt: $err\n";