View | Details | Raw Unified | Return to bug 178123
Collapse All | Expand All

(-)./pkg-plist (-2 / +2 lines)
Lines 18-29 Link Here
18
%%ETCDIR%%/nginx.conf-dist
18
%%ETCDIR%%/nginx.conf-dist
19
@exec if [ ! -f %D/%%ETCDIR%%/nginx.conf ] ; then cp -p %D/%F %B/nginx.conf; fi
19
@exec if [ ! -f %D/%%ETCDIR%%/nginx.conf ] ; then cp -p %D/%F %B/nginx.conf; fi
20
@dirrmtry %%ETCDIR%%
20
@dirrmtry %%ETCDIR%%
21
%%WWWDATA%%@exec mkdir -p -m 755 www/nginx-dist
21
%%WWWDATA%%@exec mkdir -p -m 755 %D/www/nginx-dist
22
%%WWWDATA%%@exec if [ ! -d %D/www/nginx/ ] ; then ln -fs %D/www/nginx-dist %D/www/nginx; fi
22
%%WWWDATA%%@exec if [ ! -d %D/www/nginx/ ] ; then ln -fs %D/www/nginx-dist %D/www/nginx; fi
23
%%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
23
%%WWWDATA%%www/nginx-dist/EXAMPLE_DIRECTORY-DONT_ADD_OR_TOUCH_ANYTHING
24
%%WWWDATA%%www/nginx-dist/index.html
24
%%WWWDATA%%www/nginx-dist/index.html
25
%%WWWDATA%%www/nginx-dist/50x.html
25
%%WWWDATA%%www/nginx-dist/50x.html
26
%%WWWDATA%%@exec chmod a-w www/nginx-dist
26
%%WWWDATA%%@exec chmod a-w %D/www/nginx-dist
27
%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
27
%%WWWDATA%%@unexec if [ -L %D/www/nginx ]; then rm -f %D/www/nginx; fi
28
%%WWWDATA%%@dirrmtry www/nginx-dist
28
%%WWWDATA%%@dirrmtry www/nginx-dist
29
sbin/nginx
29
sbin/nginx

Return to bug 178123