This commit is contained in:
2026-04-23 04:49:23 -06:00
parent 66135a39e5
commit e91b092cb1
+7 -7
View File
@@ -12,27 +12,27 @@ sudo systemctl stop DREAMMAKER.service 2>/dev/null
echo "cleaning up" echo "cleaning up"
# see if wer need top nuke old filews # see if wer need top nuke old filews
if [ -f $script_file ]; then if [ -f "$script_file" ]; then
sudo rm $script_file 2>/dev/null sudo rm $script_file 2>/dev/null
fi fi
if [ -f $service_file ]; then if [ -f "$service_file" ]; then
sudo rm $service_file 2>/dev/null sudo rm $service_file 2>/dev/null
fi fi
if [ ! -d $store_path ]; then if [ ! -d "$store_path" ]; then
echo "Creating $store_path" echo "Creating $store_path"
sudo mkdir -p $store_path sudo mkdir -p $store_path
fi fi
if [ ! -f $discord_file ]; then if [ ! -f "$discord_file" ]; then
echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations" echo -e "Enter Discord Webhook URL\n\tRight click on server->server settings->integrations"
read discord_file read discord_webhook
sudo bash -c "echo \"$discord_file\" > $webhook_file" sudo bash -c "echo \"$discord_webhook\" > $webhook_file"
echo echo
fi fi
if [ ! -f $discord_tag ]; then if [ ! -f "$discord_tag" ]; then
echo -e "Enter Discord Member group to tag\n\tuse a backslash when tagging the roll like \\@notifications" echo -e "Enter Discord Member group to tag\n\tuse a backslash when tagging the roll like \\@notifications"
read discord_tag_file read discord_tag_file
sudo bash -c "echo \"$discord_tag_file\" > $tag_file" sudo bash -c "echo \"$discord_tag_file\" > $tag_file"