b3510459f7
The main problem was that gnatsweb-site.pl was getting installed twice, but there may have been other issues (e.g. missing %B in @exec). In the process, merge mkdir commands into one, and used the .sample scheme although @sample keyword can't be used here. This passes redports now.
10 lines
420 B
Text
10 lines
420 B
Text
@unexec if cmp -s %D/%%ETCDIR%%/gnatsweb-site.pl.sample %D/%%ETCDIR%%/gnatsweb-site.pl.sample; then rm -f %D/%%ETCDIR%%/gnatsweb-site.pl; fi
|
|
%%ETCDIR%%/gnatsweb-site.pl.sample
|
|
@exec [ -f %B/gnatsweb-site.pl ] || cp %B/%f %B/gnatsweb-site.pl
|
|
%%CGI_DIR%%/gnatsweb.pl
|
|
%%CGI_DIR%%/gnatsweb-site.pl
|
|
%%CGI_DIR%%/gnatsweb.html
|
|
@dirrmtry %%CGI_DIR%%
|
|
@dirrmtry %%ETCDIR%%
|
|
@dirrm %%WWWDIR%%
|
|
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|