summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-extended/sysstat/sysstat.inc11
1 files changed, 5 insertions, 6 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc
index 6b21c6b8c1..4e29721666 100644
--- a/meta/recipes-extended/sysstat/sysstat.inc
+++ b/meta/recipes-extended/sysstat/sysstat.inc
@@ -52,12 +52,11 @@ do_install() {
52} 52}
53 53
54pkg_postinst_${PN} () { 54pkg_postinst_${PN} () {
55 if [ -n "$D" ]; then 55 if [ ! -n "$D" ]; then
56 exit 0 56 if [ -e /etc/init.d/populate-volatile.sh ]; then
57 fi 57 /etc/init.d/populate-volatile.sh update
58 if [ -e /etc/init.d/populate-volatile.sh ]; then 58 fi
59 /etc/init.d/populate-volatile.sh update 59 fi
60 fi
61} 60}
62 61
63FILES_${PN} += "${libdir}/sa ${systemd_system_unitdir}" 62FILES_${PN} += "${libdir}/sa ${systemd_system_unitdir}"