wownero/contrib/snap/wownerod-wrapper
2018-12-28 02:16:53 +03:00

8 lines
181 B
Bash
Executable file

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