Skip to content

Commit

Permalink
nginx: use ln -rs
Browse files Browse the repository at this point in the history
lnr is deprecated, use ln -rs directly instead.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
rossburton authored and kraj committed Nov 11, 2021
1 parent 00fbc4a commit ef4f5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-webserver/recipes-httpd/nginx/nginx.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit ef4f5c1

Please sign in to comment.