8c2a3a470d
- Preserve modified scores and configuration across updates - Install using ${INSTALL_xxx}, to ensure proper permissions and ownerships - Pass command-line arguments through the wrapper script - Replace the shell process with the game, to save some memory while playing - Install documentation in ${DOCSDIR}, and respect ${NOPORTDOCS} PR: ports/84738 Submitted by: jylefort - Allow on amd64
9 lines
147 B
Bash
9 lines
147 B
Bash
#!/bin/sh
|
|
|
|
if [ "$2" = "DEINSTALL" ]; then
|
|
for f in %%CONFIG_FILES%%; do
|
|
if [ ! -s %%DATADIR%%/$f ]; then
|
|
rm -f %%DATADIR%%/$f
|
|
fi
|
|
done
|
|
fi
|