From f88979e95ae45e41c83db14ec55dd54bec3a48b2 Mon Sep 17 00:00:00 2001 From: runebaas Date: Fri, 1 Nov 2019 13:28:47 +0100 Subject: [PATCH] Add an additional fortune file lookup path for unix systems (so it works on arch linux) --- src/utils/fortunes_reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fortunes_reader.rs b/src/utils/fortunes_reader.rs index 641ac2f..97cfbd5 100644 --- a/src/utils/fortunes_reader.rs +++ b/src/utils/fortunes_reader.rs @@ -51,7 +51,7 @@ fn get_paths() -> Vec { #[cfg(unix)] fn get_paths() -> Vec { - own_vec(vec!["./fortunes", "./cookies", "/usr/share/games/fortunes"]) + own_vec(vec!["./fortunes", "/usr/share/fortune", "/usr/share/games/fortunes"]) } pub struct Cookie {