commit 9408669b2d875f7fafc72ff67d49597a2a5356b1
Author: Bartek Szady <[email protected]>
Date:   Fri Sep 1 18:24:31 2017 +0200

    - upsdrvctl is in /usr/sbin now

 nut.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/nut.spec b/nut.spec
index e32c48e..9d995bb 100644
--- a/nut.spec
+++ b/nut.spec
@@ -11,7 +11,7 @@ Summary:      Network UPS Tools
 Summary(pl.UTF-8):     Sieciowe narzędzie do UPS-ów
 Name:          nut
 Version:       2.7.4
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/System
 Source0:       
http://www.networkupstools.org/source/2.7/%{name}-%{version}.tar.gz
@@ -240,7 +240,7 @@ done
 cat > $RPM_BUILD_ROOT/sbin/poweroff-ups << EOF
 #!/bin/sh
 echo "Switching the power off"
-/lib/nut/upsdrvctl shutdown
+/usr/sbin/upsdrvctl shutdown
 sleep 60
 EOF
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nut.git/commitdiff/9408669b2d875f7fafc72ff67d49597a2a5356b1

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to