app-emulation/ganeti: Don't use keepdir to create /var/lib/ganeti in older versions

Gentoo-Bug: 552482

Package-Manager: portage-2.2.28
This commit is contained in:
Patrick McLean
2016-04-05 11:42:20 -07:00
parent 20416eac33
commit 83fa4cbff1
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -195,7 +195,10 @@ src_install () {
insinto /etc/logrotate.d
newins doc/examples/ganeti.logrotate ${PN}
keepdir /var/{lib,log}/${PN}/
# need to dodir rather than keepdir here (bug #552482)
dodir /var/lib/${PN}
keepdir /var/log/${PN}/
keepdir /usr/share/${PN}/${SERIES}/os/
keepdir /var/lib/ganeti-storage/{export,file,shared}/
+4 -1
View File
@@ -235,7 +235,10 @@ src_install () {
insinto /etc/logrotate.d
newins doc/examples/ganeti.logrotate ${PN}
keepdir /var/{lib,log}/${PN}/
# need to dodir rather than keepdir here (bug #552482)
dodir /var/lib/${PN}
keepdir /var/log/${PN}/
keepdir /usr/share/${PN}/${SERIES}/os/
keepdir /var/lib/ganeti-storage/{export,file,shared}/
+4 -1
View File
@@ -231,7 +231,10 @@ src_install () {
insinto /etc/logrotate.d
newins doc/examples/ganeti.logrotate ${PN}
keepdir /var/{lib,log}/${PN}/
# need to dodir rather than keepdir here (bug #552482)
dodir /var/lib/${PN}
keepdir /var/log/${PN}/
keepdir /usr/share/${PN}/${SERIES}/os/
keepdir /var/lib/ganeti-storage/{export,file,shared}/