wownero/contrib/snap/wownerod-wrapper

9 lines
181 B
Text
Raw Normal View History

2018-12-27 22:00:00 +00:00
#!/bin/sh
if [ ! -d "$SNAP_USER_DATA/etc" ]; then
mkdir $SNAP_USER_DATA/etc/
cp -R $SNAP/etc/wownerod.conf $SNAP_USER_DATA/etc/wownerod.conf
fi
exec "$SNAP/bin/wownerod" "$@"