diff options
Diffstat (limited to 'games/dsnake/files/pkg-install.in')
-rw-r--r-- | games/dsnake/files/pkg-install.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/dsnake/files/pkg-install.in b/games/dsnake/files/pkg-install.in new file mode 100644 index 000000000000..501c5ba27b11 --- /dev/null +++ b/games/dsnake/files/pkg-install.in @@ -0,0 +1,11 @@ +#!/bin/sh + +if [ "$2" = "POST-INSTALL" ]; then + for f in %%CONFIG_FILES%%; do + if [ ! -f %%DATADIR%%/$f ]; then + touch %%DATADIR%%/$f + chown root:wheel %%DATADIR%%/$f + chmod 666 %%DATADIR%%/$f + fi + done +fi |