[packages/smartmontools] - rel 3; use mktemp

arekm arekm at pld-linux.org
Sun Nov 9 14:28:25 CET 2014


commit 01063d49b68a1c900e5bba6550471b2724ed3515
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 9 14:28:19 2014 +0100

    - rel 3; use mktemp

 smartd-runner      | 4 ++--
 smartmontools.spec | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/smartmontools.spec b/smartmontools.spec
index 19987af..514e8ae 100644
--- a/smartmontools.spec
+++ b/smartmontools.spec
@@ -17,7 +17,7 @@ Summary(pl.UTF-8):	Monitorowanie i kontrola dysków za pomocą S.M.A.R.T
 Summary(pt.UTF-8):	smartmontools - para monitorar discos e dispositivos S.M.A.R.T.
 Name:		smartmontools
 Version:	6.3
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Applications/System
 Source0:	http://downloads.sourceforge.net/smartmontools/%{name}-%{version}.tar.gz
diff --git a/smartd-runner b/smartd-runner
index a85961c..0ff4e70 100644
--- a/smartd-runner
+++ b/smartd-runner
@@ -1,6 +1,6 @@
-#!/bin/bash -e
+#!/bin/sh -e
 
-tmp=$(tempfile)
+tmp=$(mktemp) || exit 1
 cat >$tmp
 
 run-parts --report --lsbsysinit --arg=$tmp --arg="$1" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/smartmontools.git/commitdiff/01063d49b68a1c900e5bba6550471b2724ed3515



More information about the pld-cvs-commit mailing list