Package: src:remem
Version: 2.12-7
Severity: normal
Tags: patch

tempfile has been deprecated for years.


diff --git a/debian/postinst b/debian/postinst
index 9811553..1bfcc39 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -18,8 +18,7 @@ scope=memory
 program=/usr/bin/ra-index
 config_file=/etc/savantrc
 emacs_el_start=/etc/emacs/site-start.d/50remembrance-agent.el
-tmp_file=`/bin/tempfile`
-#tmp_file=/tmp/${package}.el
+tmp_file=$(mktemp)
 
 # First, per policy call emacs-install
 /usr/lib/emacsen-common/emacs-package-install ${package}

Reply via email to