diff --git a/install_dreammaker.sh b/install_dreammaker.sh index c55a38c..9827961 100644 --- a/install_dreammaker.sh +++ b/install_dreammaker.sh @@ -22,14 +22,14 @@ fi if [ ! -f /usr/share/DREAMMAKER/.discord_url ]; then echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations" read discord_file - echo "$discord_file" > /usr/share/DREAMMAKER/.discord_url + sudo bash -c "echo \"$discord_file\" > /usr/share/DREAMMAKER/.discord_url" echo fi if [ ! -f /usr/share/DREAMMAKER/.discord_tag ]; then echo -e "Enter Discord Member group to tag\n\tuse a backslash when tagging the roll like \\@notifications" read discord_tag_file - echo "$discord_tag_file" > /usr/share/DREAMMAKER/.discord_tag + sudo bash -c "echo \"$discord_tag_file\" > /usr/share/DREAMMAKER/.discord_tag" echo fi