15 lines
233 B
Bash
Executable file
15 lines
233 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
NEW_CONFIG="
|
|
ACCESS_TOKEN: \"\"
|
|
USERNAME: \"partybot\"
|
|
CHANNEL: 0
|
|
MNDPUSER: \"mndp\"
|
|
"
|
|
|
|
if test -f "$SNAP_DATA"/config.yaml; then
|
|
echo "existing config found..."
|
|
else
|
|
echo "$NEW_CONFIG" > "$SNAP_DATA"/config.yaml
|
|
fi
|
|
|