File: 020_fix-prefix-and-bash-term-in-posix.patch

package info (click to toggle)
mutt-wizard 3.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 340 kB
  • sloc: sh: 410; makefile: 48
file content (25 lines) | stat: -rw-r--r-- 856 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: fixed prefix to /usr and fixed bash term in shell POSIX
Author: Braulio Henrique Marques Souto <braulio@disroot.org>
Forwarded: not-needed
Last-Update: 2022-10-31
Index: mutt-wizard-3.3.1/bin/mw
===================================================================
--- mutt-wizard-3.3.1.orig/bin/mw
+++ mutt-wizard-3.3.1/bin/mw
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-prefix="/usr/local"
+prefix="/usr"
 maildir="${XDG_DATA_HOME:-$HOME/.local/share}/mail"
 muttshare="$prefix/share/mutt-wizard"
 cachedir="${XDG_CACHE_HOME:-$HOME/.cache}/mutt-wizard"
@@ -101,7 +101,7 @@ set header_cache = $cachedir/$fulladdr/h
 set message_cachedir = $cachedir/$fulladdr/bodies
 set mbox_type = Maildir
 set hostname = \"$hostname\"
-source $muttshare/switch.muttrc
+\. $muttshare/switch.muttrc
 set spoolfile = "+INBOX"
 set postponed = "+Drafts"
 set trash = "+Trash"