Package: riece
Version: 7.0.0-1
Severity: normal
Code (line 89) in debian/preinst should use tempfile(1) to create
temporary files.
87 # for useless dpkg conffiles
88 STARTUPFILE=/etc/emacs/site-start.d/50riece.el
89 ORIGINALFILE=/tmp/emacsen-startup.1.0.8-2
90
91 if [ -f "$STARTUPFILE" ]; then
92 if grep "Don't touch manually" "$STARTUPFILE" > /dev/null
2>&1; then
93 createOriginalFile "$ORIGINALFILE"
94 sed "s/(setq riece-addons '(.*))/(setq riece-addons '())/" \
95 "$STARTUPFILE" > "$STARTUPFILE".tmp
96 if diff -q "$STARTUPFILE".tmp "$ORIGINALFILE" > /dev/null
2>&1; then
97 # installed file and original are identical
98 rm "$STARTUPFILE"
99 createStartupFile "$STARTUPFILE"
100 fi
101 rm -f "$STARTUPFILE".tmp
102 rm -f "$ORIGINALFILE"
103 fi
104 fi
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]