From ef4f5c1f3395f871b951cf03dd38993a101ab0e3 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 10 Nov 2021 16:31:05 +0000 Subject: nginx: use ln -rs lnr is deprecated, use ln -rs directly instead. Signed-off-by: Ross Burton Signed-off-by: Khem Raj --- meta-webserver/recipes-httpd/nginx/nginx.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta-webserver') diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index 7637002f23..b99e29ef99 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc @@ -94,7 +94,7 @@ do_install () { >> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf fi install -d ${D}${sysconfdir}/${BPN} - lnr ${D}${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run + ln -rs ${D}${localstatedir}/run/${BPN} ${D}${sysconfdir}/${BPN}/run install -d ${D}${NGINX_WWWDIR} mv ${D}${exec_prefix}/html ${D}${NGINX_WWWDIR}/ chown ${NGINX_USER}:www-data -R ${D}${NGINX_WWWDIR} -- cgit v1.2.3-54-g00ecf