commit 1e921240da284740dd8d658af76fa13d9950b4db
Author: Elan Ruusamäe <[email protected]>
Date:   Sun May 31 19:43:24 2015 +0300

    use macro

 poldek.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/poldek.spec b/poldek.spec
index e4797f1..1addcea 100644
--- a/poldek.spec
+++ b/poldek.spec
@@ -465,10 +465,10 @@ fi
 %triggerpostun -- %{name} < 0.30.1-8
 if [ $1 -le 1 ]; then
        # revert change on  --downgrade
-       %{__sed} -i -re 's,^pm command = %{_libexecdir}/pm-command.sh,#&,' 
/etc/poldek/poldek.conf
+       %{__sed} -i -re 's,^pm command = %{_libexecdir}/pm-command.sh,#&,' 
%{_sysconfdir}/%{name}/%{name}.conf
 else
        # setup pm command
-       %{__sed} -i -re 's,#?(pm command =).*,\1 %{_libexecdir}/pm-command.sh,' 
/etc/poldek/poldek.conf
+       %{__sed} -i -re 's,#?(pm command =).*,\1 %{_libexecdir}/pm-command.sh,' 
%{_sysconfdir}/%{name}/%{name}.conf
 fi
 
 %files -f %{name}.lang
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/1e921240da284740dd8d658af76fa13d9950b4db

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

Reply via email to