8 lines
184 B
Bash
Executable file
8 lines
184 B
Bash
Executable file
#!/bin/sh
|
|
|
|
if [ ! -d "$SNAP_USER_DATA/etc" ]; then
|
|
mkdir $SNAP_USER_DATA/etc/
|
|
cp -R $SNAP/etc/danicoind.conf $SNAP_USER_DATA/etc/danicoind.conf
|
|
fi
|
|
|
|
exec "$SNAP/bin/danicoind" "$@"
|