From 5f73bcb90d4d41347f3bd6dcc42f9d87b699c60c Mon Sep 17 00:00:00 2001 From: murmeldin Date: Sun, 13 Apr 2025 15:34:52 +0200 Subject: [PATCH] fixed comma error, new fedora install script --- src/email.rs | 6 +++--- util/install_script_fedora.sh | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 util/install_script_fedora.sh diff --git a/src/email.rs b/src/email.rs index 7b8abbb..9119a1f 100644 --- a/src/email.rs +++ b/src/email.rs @@ -52,9 +52,9 @@ pub const CONFIG: CfgGroup<'static> = CfgGroup { description: "Recipient of the emails sent.", }, CfgField::Default { - key: "in-reply-to" - default: "intern@berlin.ccc.de" - description: "Person to reply to" + key: "in-reply-to", + default: "intern@berlin.ccc.de", + description: "Person to reply to", } ], }; diff --git a/util/install_script_fedora.sh b/util/install_script_fedora.sh new file mode 100644 index 0000000..e611a06 --- /dev/null +++ b/util/install_script_fedora.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +# The plenum bot works when being run on a ubuntu-server +# instance with these commands ran previously. +# For other distros, please adapt these instructions +# so you have the same packages installed as well. +# +# This script can also be run in order to update +# the bot and its dependencies to the newest version. + +# Optionally, if you don't have rust installed, you should do it here: +# https://www.rust-lang.org/tools/install + +git pull +sudo dnf update -y +sudo dnf install gcc rust-openssl-devel pandoc pkg-config rust-libsqlite3-sys+buildtime_bindgen-devel.noarch +cargo install --path $HOME/plenum-bot +./update_or_create_systemd_service.sh