]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
rp-pppoe: Fix a typo.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 23 Jun 2012 22:35:39 +0000 (00:35 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 23 Jun 2012 22:35:39 +0000 (00:35 +0200)
The build removed half of its build environment. Oops.

rp-pppoe/rp-pppoe.nm

index 0751f435f3051468b4dc7ea988f3ef03f461ef81..aa433c28db66d69b365e13313c67cb06990f941a 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = rp-pppoe
 version    = 3.10
-release    = 1
+release    = 2
 
 groups     = Networking/Dialin
 url        = http://www.roaringpenguin.com/pppoe/
@@ -27,6 +27,7 @@ build
                iproute2
                libtool
                ppp-devel
+               systemd-units
        end
 
        DIR_APP := %{DIR_APP}/src
@@ -57,7 +58,7 @@ build
                rm -vf %{BUILDROOT}%{sbindir}/pppoe-{connect,start,stop,status,setup}
                rm -vf %{BUILDROOT}%{mandir}/man*/pppoe-{connect,start,stop,status,setup}*
                rm -vf %{BUILDROOT}%{mandir}/man*/pppoe.{,conf}*
-               rm -rvf ${BUILDROOT}%{libdir}
+               rm -rvf %{BUILDROOT}%{libdir}
        end
 end
 
@@ -67,6 +68,18 @@ packages
                        iproute2
                        ppp
                end
+
+               script postin
+                       systemctl daemon-reload >/dev/null 2>&1 || :
+               end
+
+               script postup
+                       systemctl daemon-reload >/dev/null 2>&1 || :
+               end
+
+               script postun
+                       systemctl daemon-reload >/dev/null 2>&1 || :
+               end
        end
 
        package %{name}-debuginfo