townforge/contrib/snap/townforged-wrapper
2020-02-14 13:19:03 +00:00

9 lines
187 B
Bash
Executable File

#!/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" "$@"