summaryrefslogtreecommitdiff
path: root/games/pentagram/pentagram.sh
blob: 5b468d43502a4edcc67646b8fe67d26bdc3be39d (plain)
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/pentagram/pentagram.ini.default > ~/.pentagram/pentagram.ini
fi

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