[lldpad] Make sure our configuration directory exists

Petr Šabata psabata at fedoraproject.org
Mon Jul 23 16:00:17 UTC 2012


commit 42ff57efa11908aa53491734ec0f45917c1c18b2
Author: Petr Šabata <contyk at redhat.com>
Date:   Mon Jul 23 17:58:34 2012 +0200

    Make sure our configuration directory exists

 lldpad.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/lldpad.spec b/lldpad.spec
index d75a85b..b04413b 100644
--- a/lldpad.spec
+++ b/lldpad.spec
@@ -57,6 +57,7 @@ rm -f %{buildroot}%{_mandir}/man8/dcbd.8
 mkdir -p %{buildroot}%{_unitdir}
 install -m644 %{name}.service %{buildroot}%{_unitdir}
 rm -rf %{buildroot}/etc/init.d
+mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
 
 %post
 if [ $1 -eq 1 ]; then


More information about the scm-commits mailing list