vsftpd-2.0.5: don't run pkg_postinst on host
PATCH 1/1 vsftpd-2.0.5: don't run pkg_postinst on host
Signed-off-by Andreas Oberritter <[email protected]>
--- recipes/vsftpd/vsftpd_2.0.5.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/vsftpd/vsftpd_2.0.5.bb +3 -0
@@ -35,6 +35,9 @@ do_install() { } pkg_postinst() { + if [ "x$D" != "x" ]; then + exit 1 + fi addgroup ftp adduser --system --home /var/lib/ftp --no-create-home --ingroup ftp --disabled-password -s /bin/false ftp mkdir -p ${localstatedir}/share/empty
Signature · 1 line
1.7.2.3