#942033 muttprofile: allow use of either mutt or neomutt

Package:
muttprofile
Source:
muttprofile
Submitter:
"brian m. carlson"
Date:
2024-11-08 08:36:01 UTC
Severity:
wishlist
Tags:
#942033#5
Date:
2019-10-09 10:30:58 UTC
From:
To:
Currently, I switched from using mutt to neomutt, although I use the
same configuration for both (in the standard mutt location).  When I
install muttprofile, mutt is automatically installed, even if I have
neomutt already present.

It would be nice to allow a dependency on either package so folks can
choose which version they'd like to use and don't need to have an extra
package installed if it's not necessary.

#942033#10
Date:
2024-11-08 08:36:27 UTC
From:
To:
Control: tags -1 + patch

I suspect something like this would provide the change you want.

diff --git a/debian/control b/debian/control
index 14cf454..f16616c 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Vcs-Git: git://anonscm.debian.org/collab-maint/muttprofile.git

 Package: muttprofile
 Architecture: all
-Depends: ${misc:Depends}, perl (>= 5.8.1-1), mutt
+Depends: ${misc:Depends}, perl (>= 5.8.1-1), mutt | neomutt
 Description: utility to choose profiles in Mutt
  A profile in Mutt is simply a specific subset of the configuration. You may
  have a personal and a work profile, each of which uses the same base