Lines 5-11
Link Here
|
5 |
@exec chmod -R 775 %D/%%HACKDIR%% |
5 |
@exec chmod -R 775 %D/%%HACKDIR%% |
6 |
@exec chmod 2755 %D/%%HACKDIR%%/%%HACKNAME%% |
6 |
@exec chmod 2755 %D/%%HACKDIR%%/%%HACKNAME%% |
7 |
@exec chown games:games %D/%%HACKDIR%%/save |
7 |
@exec chown games:games %D/%%HACKDIR%%/save |
8 |
@dirrmtry %%HACKDIR%%/save |
|
|
9 |
%%HACKDIR%%/Arc-fila.lev |
8 |
%%HACKDIR%%/Arc-fila.lev |
10 |
%%HACKDIR%%/Arc-filb.lev |
9 |
%%HACKDIR%%/Arc-filb.lev |
11 |
%%HACKDIR%%/Arc-goal.lev |
10 |
%%HACKDIR%%/Arc-goal.lev |
Lines 144-149
Link Here
|
144 |
@exec touch %D/%%HACKDIR%%/logfile && chmod 664 %D/%%HACKDIR%%/logfile |
143 |
@exec touch %D/%%HACKDIR%%/logfile && chmod 664 %D/%%HACKDIR%%/logfile |
145 |
@unexec [ -s %D/%%HACKDIR%%/record ] || rm -f %D/%%HACKDIR%%/record |
144 |
@unexec [ -s %D/%%HACKDIR%%/record ] || rm -f %D/%%HACKDIR%%/record |
146 |
@exec touch %D/%%HACKDIR%%/record && chmod 664 %D/%%HACKDIR%%/record |
145 |
@exec touch %D/%%HACKDIR%%/record && chmod 664 %D/%%HACKDIR%%/record |
147 |
@dirrm %%HACKDIR%% |
146 |
@unexec rmdir %D/%%HACKDIR%%/save >/dev/null 2>&1 || echo 'Nethack directory (%D/%%HACKDIR%%/) not removed due to existing save games. If you are permanently removing this port, you should do a ``rm -rf %D/%%HACKDIR%%``.' | fmt |
|
|
147 |
@dirrmtry %%HACKDIR%% |
148 |
%%PORTDOCS%%%%HACKDOCSDIR%%/Guidebook.txt |
148 |
%%PORTDOCS%%%%HACKDOCSDIR%%/Guidebook.txt |
149 |
%%PORTDOCS%%@dirrm %%HACKDOCSDIR%% |
149 |
%%PORTDOCS%%@dirrm %%HACKDOCSDIR%% |