diff options
| -rw-r--r-- | meta-webserver/recipes-httpd/nginx/nginx.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/nginx/nginx.inc b/meta-webserver/recipes-httpd/nginx/nginx.inc index 944968ab9e..6992a84c79 100644 --- a/meta-webserver/recipes-httpd/nginx/nginx.inc +++ b/meta-webserver/recipes-httpd/nginx/nginx.inc | |||
| @@ -148,7 +148,7 @@ do_install () { | |||
| 148 | 148 | ||
| 149 | pkg_postinst:${PN} () { | 149 | pkg_postinst:${PN} () { |
| 150 | if [ -z "$D" ]; then | 150 | if [ -z "$D" ]; then |
| 151 | if type systemd-tmpfiles >/dev/null; then | 151 | if type systemd-tmpfiles >/dev/null 2>&1; then |
| 152 | systemd-tmpfiles --create | 152 | systemd-tmpfiles --create |
| 153 | elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then | 153 | elif [ -e ${sysconfdir}/init.d/populate-volatile.sh ]; then |
| 154 | ${sysconfdir}/init.d/populate-volatile.sh update | 154 | ${sysconfdir}/init.d/populate-volatile.sh update |
