Initial commit for the rspamd spam/ham trainer
This commit is contained in:
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
python_bin="${PYTHON_BIN:-python3}"
|
||||
"$python_bin" -m pip install .
|
||||
echo "Installed rspamd-mail-trainer."
|
||||
echo "Run: rspamd-mail-trainer --help"
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
PYTHON_BIN="${PYTHON_BIN:-python3}"
|
||||
exec "$PYTHON_BIN" -m rspamd_mail_trainer "$@"
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
python_bin="${PYTHON_BIN:-python3}"
|
||||
"$python_bin" -m pip uninstall -y rspamd-mail-trainer
|
||||
Reference in New Issue
Block a user