Package: discover Version: 2.1.2-8 Tags: patch Please use mktemp instead of tempfile.
>From cb2d2896a73b934126ca2a3026114cf855ecd5b6 Mon Sep 17 00:00:00 2001 From: Clint Adams <cl...@debian.org> Date: Sun, 22 Aug 2021 17:37:33 -0400 Subject: [PATCH] scripts/discover-pkginstall: use mktemp instead of tempfile
--- scripts/discover-pkginstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/discover-pkginstall b/scripts/discover-pkginstall index 6f9bb58..a3324da 100755 --- a/scripts/discover-pkginstall +++ b/scripts/discover-pkginstall @@ -164,7 +164,7 @@ if [ "$packages" ] ; then # Trick to avoid locking the debconf database when installing # packages. The redirects are gross hacks to work around # debconf file descriptor handling - tempfile=$(tempfile) + tempfile=$(mktemp) DISCOVER_PKGINSTALL_ASKING=true $0 $packages 8>$tempfile packages=$(cat $tempfile) rm $tempfile -- 2.32.0