mirror of https://git.meli.delivery/meli/meli
debian: update debian package metadata
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>pull/323/head
parent
5f8d7c8039
commit
59c99fdc79
@ -1 +0,0 @@
|
|||||||
11
|
|
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=meli
|
||||||
|
Exec=meli
|
||||||
|
Categories=Office;Network;Email;
|
||||||
|
Comment=Terminal mail client
|
||||||
|
NoDisplay=false
|
||||||
|
Terminal=true
|
||||||
|
Type=Application
|
@ -0,0 +1,7 @@
|
|||||||
|
WARNING: This package is not distributed by debian, it was generated from the source repository of meli.
|
||||||
|
|
||||||
|
Please do not report bugs to debian, but to the appropriate issue tracker for meli:
|
||||||
|
|
||||||
|
- https://git.meliemail.org/meli/meli/issues
|
||||||
|
- Send e-mail to the mailing list, "meli general" <meli-general@meliemail.org>
|
||||||
|
https://lists.meliemail.org/list/meli-general/
|
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "Including output of \`meli -v\` and \`meli compiled-with\`..."
|
||||||
|
|
||||||
|
LC_ALL=C meli -v >&3
|
||||||
|
|
||||||
|
echo "\nEnabled compile-time features"
|
||||||
|
echo "-----------------------------"
|
||||||
|
LC_ALL=C meli compiled-with >&3 || true
|
@ -0,0 +1,5 @@
|
|||||||
|
Document: meli
|
||||||
|
Title: meli E-mail Client Manual
|
||||||
|
Author: Various
|
||||||
|
Abstract: Manual for meli the terminal e-mail client.
|
||||||
|
Section: Network/Communication
|
@ -0,0 +1,2 @@
|
|||||||
|
meli/docs/samples/sample-config.toml
|
||||||
|
meli/docs/samples/themes
|
@ -1 +1,2 @@
|
|||||||
fix-prefix-for-debian.patch
|
fix-prefix-for-debian.patch
|
||||||
|
usr_bin_editor.patch
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
From: Manos Pitsidianakis <manos@pitsidianak.is>
|
||||||
|
Date: Thu, 27 Feb 2014 16:06:15 +0100
|
||||||
|
Subject: usr_bin_editor
|
||||||
|
|
||||||
|
If EDITOR or VISUAL is not set, fall back to /usr/bin/editor,
|
||||||
|
which is set by update-alternatives.
|
||||||
|
---
|
||||||
|
meli/src/subcommands.rs | 1 +---
|
||||||
|
1 file changed, 1 insertion(+), 3 deletions(-)
|
||||||
|
|
||||||
|
--- a/meli/src/subcommands.rs
|
||||||
|
+++ b/meli/src/subcommands.rs
|
||||||
|
@@ -52,9 +52,7 @@
|
||||||
|
pub fn edit_config() -> Result<()> {
|
||||||
|
let editor = std::env::var("EDITOR")
|
||||||
|
.or_else(|_| std::env::var("VISUAL"))
|
||||||
|
- .map_err(|err| {
|
||||||
|
- format!("Could not find any value in environment variables EDITOR and VISUAL. {err}")
|
||||||
|
- })?;
|
||||||
|
+ .unwrap_or_else(|_| "/usr/bin/editor".into());
|
||||||
|
let config_path = crate::conf::get_config_file()?;
|
||||||
|
|
||||||
|
let mut cmd = Command::new(editor);
|
Loading…
Reference in New Issue