mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
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
10 lines
147 B
Bash
10 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
|