mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-20 19:04:49 +00:00
Initial revision
git-svn-id: file:///srv/svn/joey/bsdgames-trunk@5086 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
13
install-score.in
Executable file
13
install-score.in
Executable file
@@ -0,0 +1,13 @@
|
||||
# install-score.in - install a score file
|
||||
|
||||
set -e
|
||||
|
||||
scorefile="@install_prefix@$1"
|
||||
|
||||
mkdir -p "$(dirname "$scorefile")"
|
||||
|
||||
test -e "$scorefile" || touch "$scorefile"
|
||||
if [ @do_chown@ = y ]; then
|
||||
chown @vardata_owner@.@vardata_group@ "$scorefile"
|
||||
fi
|
||||
chmod @vardata_perms@ "$scorefile"
|
||||
Reference in New Issue
Block a user