diff options
Diffstat (limited to 'games/linux-enemyterritory-jaymod/pkg-plist')
-rw-r--r-- | games/linux-enemyterritory-jaymod/pkg-plist | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/games/linux-enemyterritory-jaymod/pkg-plist b/games/linux-enemyterritory-jaymod/pkg-plist index 24da152cd40..a769fc6fb79 100644 --- a/games/linux-enemyterritory-jaymod/pkg-plist +++ b/games/linux-enemyterritory-jaymod/pkg-plist @@ -1,6 +1,8 @@ bin/et-jaymod bin/etded-jaymod -%%DATADIR%%/jaymod.cfg +@unexec if cmp %D/lib/enemyterritory/jaymod/jaymod.cfg %D/lib/enemyterritory/jaymod/jaymod.cfg.sample; then rm -f %D/lib/enemyterritory/jaymod/jaymod.cfg; fi +%%DATADIR%%/jaymod.cfg.sample +@exec if [ ! -f %D/lib/enemyterritory/jaymod/jaymod.cfg ] ; then cp -p %D/lib/enemyterritory/jaymod/jaymod.cfg.sample %D/lib/enemyterritory/jaymod/jaymod.cfg; fi %%DATADIR%%/%%CLIENT_PK3%% %%DATADIR%%/linux/convert_shrub %%DATADIR%%/linux/serverctl @@ -14,10 +16,12 @@ bin/etded-jaymod %%DATADIR%%/mapscripts/railgun.script %%DATADIR%%/mapscripts/railgun_lms.script %%DATADIR%%/qagame.mp.i386.so -%%DATADIR%%/server.cfg +@unexec if cmp %D/lib/enemyterritory/jaymod/server.cfg %D/lib/enemyterritory/jaymod/server.cfg.sample; then rm -f %D/lib/enemyterritory/jaymod/server.cfg; fi +%%DATADIR%%/server.cfg.sample +@exec if [ ! -f %D/lib/enemyterritory/jaymod/server.cfg ] ; then cp -p %D/lib/enemyterritory/jaymod/server.cfg.sample %D/lib/enemyterritory/jaymod/server.cfg; fi %%PORTDOCS%%%%DOCSDIR%%/README.txt %%PORTDOCS%%%%DOCSDIR%%/jaymod.pdf %%PORTDOCS%%@dirrm %%DOCSDIR%% @dirrm %%DATADIR%%/mapscripts @dirrm %%DATADIR%%/linux -@dirrm %%DATADIR%% +@dirrmtry %%DATADIR%%
\ No newline at end of file |