]> git.pld-linux.org Git - packages/poldek.git/commitdiff
use macro
authorElan Ruusamäe <glen@delfi.ee>
Sun, 31 May 2015 16:43:24 +0000 (19:43 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 31 May 2015 16:43:24 +0000 (19:43 +0300)
poldek.spec

index e4797f1d60bc00d93d4f5ea1372787c41e7b0b4c..1addceaa1385fc3662ac332393aa3faf5b54ba04 100644 (file)
@@ -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
This page took 0.02773 seconds and 4 git commands to generate.