aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/nginx-devel/pkg-plist2
-rw-r--r--www/nginx/pkg-plist2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/nginx-devel/pkg-plist b/www/nginx-devel/pkg-plist
index c9ab18f7b2b3..fee21d4fa0a1 100644
--- a/www/nginx-devel/pkg-plist
+++ b/www/nginx-devel/pkg-plist
@@ -6,7 +6,7 @@ etc/nginx/mime.types-dist
@unexec if cmp -s %D/etc/nginx/nginx.conf %D/etc/nginx/nginx.conf-dist; then rm -f %D/etc/nginx/nginx.conf; fi
etc/nginx/nginx.conf-dist
@exec [ -f %B/nginx.conf ] || cp %B/%f %B/nginx.conf
-@unexec rmdir $D/etc/nginx 2>/dev/null || true
+@unexec rmdir %D/etc/nginx 2>/dev/null || true
%%WWWDATA%%@exec mkdir -p -m 755 www/nginx-dist
@comment @unexec chmod u+w www/nginx-dist
%%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
diff --git a/www/nginx/pkg-plist b/www/nginx/pkg-plist
index c9ab18f7b2b3..fee21d4fa0a1 100644
--- a/www/nginx/pkg-plist
+++ b/www/nginx/pkg-plist
@@ -6,7 +6,7 @@ etc/nginx/mime.types-dist
@unexec if cmp -s %D/etc/nginx/nginx.conf %D/etc/nginx/nginx.conf-dist; then rm -f %D/etc/nginx/nginx.conf; fi
etc/nginx/nginx.conf-dist
@exec [ -f %B/nginx.conf ] || cp %B/%f %B/nginx.conf
-@unexec rmdir $D/etc/nginx 2>/dev/null || true
+@unexec rmdir %D/etc/nginx 2>/dev/null || true
%%WWWDATA%%@exec mkdir -p -m 755 www/nginx-dist
@comment @unexec chmod u+w www/nginx-dist
%%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING