about summary refs log tree commit diff
path: root/pkgs/by-name/ha/hare/003-use-mailcap-for-mimetypes.patch
blob: fad17d12cb9e38351de1e26fc12aae81c161a551 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/mime/system.ha b/mime/system.ha
index 73ff3496..42e7b640 100644
--- a/mime/system.ha
+++ b/mime/system.ha
@@ -11,7 +11,7 @@ use strings;
 use types;
 
 // Path to the system MIME database.
-export def SYSTEM_DB: str = "/etc/mime.types";
+export def SYSTEM_DB: str = "@mailcap@/etc/mime.types";
 
 @init fn init() void = {
 	// Done in a separate function so we can discard errors here