Browse Source

Avoid tempfile deprecation warning

Since debianutils 4.10, tempfile is deprecated in favor of mktemp.
tags/devuan/3.62+devuan1
Sven Joachim Holger Wansing 8 months ago
parent
commit
86c1b91965
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tasksel.pl

+ 1
- 1
tasksel.pl View File

@@ -710,7 +710,7 @@ sub interactive {
$question="tasksel/first";
}
my @default = grep { $_->{_display} == 1 && ($_->{_install} == 1 || $_->{_installed} == 1) } @tasks;
my $tmpfile=`tempfile`;
my $tmpfile=`mktemp`;
chomp $tmpfile;
my $ret=system($debconf_helper, $tmpfile,
task_to_debconf_C(@list),


Loading…
Cancel
Save