[Portland-bugs] [Bug 46814] New: do not check for /etc/debian_version before using xdg-open
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 1 03:20:06 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=46814
Bug #: 46814
Summary: do not check for /etc/debian_version before using
xdg-open
Classification: Unclassified
Product: Portland
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: xdg-utils
AssignedTo: portland-bugs at lists.freedesktop.org
ReportedBy: arno at renevier.net
Created attachment 57854
--> https://bugs.freedesktop.org/attachment.cgi?id=57854
patch proposal
Hi,
currently, xdg-open uses run-mailcap if it's available on the system (checked
with which command), and if it's a debian system (checked with
/etc/debian_version).
But copying run-mailcap from a debian system to a non debian linux system works
fine. So maybe, the check for /etc/debian_version is not necessary. That would
also for other distributions to use it and/or for someone to put the
run-mailcap script in its path (which is what I'm currently doing).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Portland-bugs
mailing list