]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- _sysconfdir unification
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Nov 2004 11:17:15 +0000 (11:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek.spec -> 1.189

poldek.spec

index 86fb640bcf3ee8398ab00a4b1a96b2c8d9f7f7f9..817762664178cd6e00f10a49b938dea8492d3a24 100644 (file)
@@ -147,8 +147,8 @@ sed "s|%%ARCH%%|%{_ftp_arch}|g" < %{SOURCE1} > $RPM_BUILD_ROOT%{_sysconfdir}/%{n
 rm -rf $RPM_BUILD_ROOT
 
 %triggerpostun -- poldek <= 0.18.3-5
-if grep -q '^promoteepoch.*yes' /etc/poldek.conf ; then
-       echo -e ',s:^promoteepoch:# promoteepoch:g\n,w' | ed -s /etc/poldek.conf
+if grep -q '^promoteepoch.*yes' %{_sysconfdir}/poldek.conf ; then
+       echo -e ',s:^promoteepoch:# promoteepoch:g\n,w' | ed -s %{_sysconfdir}/poldek.conf
 fi
 
 # otherwise don't touch
This page took 0.050505 seconds and 4 git commands to generate.