diff options
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-barbican_git.bb')
| -rw-r--r-- | meta-openstack/recipes-devtools/python/python-barbican_git.bb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-barbican_git.bb b/meta-openstack/recipes-devtools/python/python-barbican_git.bb index 0b3d768..579413c 100644 --- a/meta-openstack/recipes-devtools/python/python-barbican_git.bb +++ b/meta-openstack/recipes-devtools/python/python-barbican_git.bb | |||
| @@ -85,12 +85,10 @@ FILES_${SRCNAME} = "${sysconfdir}/${SRCNAME}/* \ | |||
| 85 | 85 | ||
| 86 | ALLOW_EMPTY_${SRCNAME}-setup = "1" | 86 | ALLOW_EMPTY_${SRCNAME}-setup = "1" |
| 87 | pkg_postinst_${SRCNAME}-setup () { | 87 | pkg_postinst_${SRCNAME}-setup () { |
| 88 | if [ "x$D" != "x" ]; then | 88 | if [ -z "$D" ]; then |
| 89 | exit 1 | 89 | chown -R barbican:barbican ${sysconfdir}/${SRCNAME} |
| 90 | chown -R barbican:barbican ${localstatedir}/lib/barbican | ||
| 90 | fi | 91 | fi |
| 91 | |||
| 92 | chown -R barbican:barbican ${sysconfdir}/${SRCNAME} | ||
| 93 | chown -R barbican:barbican ${localstatedir}/lib/barbican | ||
| 94 | } | 92 | } |
| 95 | 93 | ||
| 96 | DEPENDS += " \ | 94 | DEPENDS += " \ |
