From 4c35e57e8efbe8b1a9844dfa50ffe11034ec8583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Mon, 14 Nov 2011 10:42:16 +0100 Subject: [PATCH] fix incorrect option in test in 56atd --- 56atd | 2 +- at.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/56atd b/56atd index 6cf9a8a..1104675 100644 --- a/56atd +++ b/56atd @@ -7,7 +7,7 @@ case "$1" in hibernate|suspend) ;; thaw|resume) - if [ -d /etc/init.d/atd ]; then + if [ -f /etc/init.d/atd ]; then /etc/init.d/atd restart elif systemctl try-restart atd.service diff --git a/at.spec b/at.spec index 9315fad..e76450c 100644 --- a/at.spec +++ b/at.spec @@ -3,7 +3,7 @@ Summary: Job spooling tools Name: at Version: 3.1.13 -Release: 3%{dist} +Release: 4%{dist} License: GPLv2+ Group: System Environment/Daemons URL: http://ftp.debian.org/debian/pool/main/a/at @@ -188,6 +188,9 @@ fi %attr(0755,root,root) %{_initrddir}/atd %changelog +* Mon Nov 14 2011 Marcela Mašláňová - 3.1.13-4 +- fix incorrect option in test in 56atd + * Wed Sep 4 2011 Marcela Mašláňová - 3.1.13-3 - 729742 fix 56atd script for systemd