Package: src:prads
Version: 0.3.3-1.1
Severity: minor
Tags: patch

This file doesn't appear to be part of the .deb, but in case it makes
its way in, tempfile has been deprecated for years.

diff --git a/doc/prads.rc b/doc/prads.rc
index 58a2835..107955e 100755
--- a/doc/prads.rc
+++ b/doc/prads.rc
@@ -52,7 +52,7 @@ fi
 
 case "$1" in
        start)
-               output=$(/bin/tempfile -s.prads)
+               output=$(mktemp --suffix=.prads)
                log_daemon_msg "Starting $DESC" 
                log_progress_msg $NAME
                if start-stop-daemon \

Reply via email to