townforge/contrib/snap/townforged-wrapper

9 lines
187 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ ! -d "$SNAP_USER_DATA/etc" ]; then
mkdir $SNAP_USER_DATA/etc/
cp -R $SNAP/etc/townforged.conf $SNAP_USER_DATA/etc/townforged.conf
fi
exec "$SNAP/bin/townforged" "$@"