diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-08-29 13:36:14 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-08-29 13:36:14 +0000 |
commit | 8c2a3a470dcbca103c42e6ef464eca973f04c65b (patch) | |
tree | 4b7396bc197aae38e2a0688b9f091e1bc9974f7d /games/dsnake/files/pkg-install.in | |
parent | 0ae62a149a1d5a208b5bcbe13a6585b7cd8277aa (diff) |
Notes
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 |