summaryrefslogtreecommitdiffstats
path: root/games/pentagram/pentagram.sh
blob: 9a84e1f20f6fe141ee193fbe7ee940c7882391ce (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# Wrapper script for pentagram, creates initial ~/.pentagram/pentagram.ini
# file, which pentagram won't create for itself.

set -e

if [ ! -e ~/.pentagram/pentagram.ini ]; then
	mkdir -p ~/.pentagram
	cat /usr/share/games/pentagram/pentagram.ini.default > ~/.pentagram/pentagram.ini
fi

exec /usr/libexec/pentagram/pentagram-bin "$@"