summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm')
-rw-r--r--meta/recipes-devtools/rpm/rpm_4.11.2.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_4.11.2.bb b/meta/recipes-devtools/rpm/rpm_4.11.2.bb
index a48852f875..3683971cd5 100644
--- a/meta/recipes-devtools/rpm/rpm_4.11.2.bb
+++ b/meta/recipes-devtools/rpm/rpm_4.11.2.bb
@@ -101,8 +101,7 @@ do_install_append() {
101} 101}
102 102
103pkg_postinst_${PN}() { 103pkg_postinst_${PN}() {
104 104 [ "x\$D" = "x" ] && ldconfig
105 [ "x\$D" == "x" ] && ldconfig
106 test -f ${localstatedir}/lib/rpm/Packages || rpm --initdb 105 test -f ${localstatedir}/lib/rpm/Packages || rpm --initdb
107 rm -f ${localstatedir}/lib/rpm/Filemd5s \ 106 rm -f ${localstatedir}/lib/rpm/Filemd5s \
108 ${localstatedir}/lib/rpm/Filedigests \ 107 ${localstatedir}/lib/rpm/Filedigests \
@@ -112,7 +111,7 @@ pkg_postinst_${PN}() {
112} 111}
113 112
114pkg_postrm_${PN}() { 113pkg_postrm_${PN}() {
115 [ "x\$D" == "x" ] && ldconfig 114 [ "x\$D" = "x" ] && ldconfig
116 115
117} 116}
118 117