diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-07-02 16:43:19 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2018-07-07 08:14:54 -0700 |
commit | 4d139b95c4f152d132592f515c5151f4dd6269c1 (patch) | |
tree | 1ea34476a3485dac0dd3e3af2dee415b1b717c6b /recipes-security/clamav | |
parent | d2946afbd2a7c044e257c9d350a25458f070aaaa (diff) | |
download | meta-security-4d139b95c4f152d132592f515c5151f4dd6269c1.tar.gz |
clamav: update postinit
log_check] WARNING: Intentionally failing postinstall scriptlets of ['suricata', 'clamav'] to defer them to first boot is deprecated. Please place them into pkg_postinst_ontarget_${PN} ()
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/clamav')
-rw-r--r-- | recipes-security/clamav/clamav_0.99.3.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-security/clamav/clamav_0.99.3.bb b/recipes-security/clamav/clamav_0.99.3.bb index 043fa21..688250d 100644 --- a/recipes-security/clamav/clamav_0.99.3.bb +++ b/recipes-security/clamav/clamav_0.99.3.bb | |||
@@ -93,8 +93,8 @@ do_install_append() { | |||
93 | fi | 93 | fi |
94 | } | 94 | } |
95 | 95 | ||
96 | pkg_postinst_${PN} () { | 96 | pkg_postinst_ontarget_${PN} () { |
97 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then | 97 | if [ -e /etc/init.d/populate-volatile.sh ] ; then |
98 | ${sysconfdir}/init.d/populate-volatile.sh update | 98 | ${sysconfdir}/init.d/populate-volatile.sh update |
99 | fi | 99 | fi |
100 | chown ${UID}:${GID} ${localstatedir}/lib/clamav | 100 | chown ${UID}:${GID} ${localstatedir}/lib/clamav |