diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-14 11:10:11 +0100 |
commit | 81b8f20732954c4508baf2f77472b5435e3f851f (patch) | |
tree | 4180177cb7ba85eab50159ce96218c2419fb24a6 /net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch | |
parent | 946859e0e36904cffb3e0ccbccb6b7b1347c1cc8 (diff) |
gentoo auto-resync : 14:09:2022 - 11:10:10
Diffstat (limited to 'net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch')
-rw-r--r-- | net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch b/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch new file mode 100644 index 000000000000..11023779e690 --- /dev/null +++ b/net-misc/ytfzf/files/ytfzf-2.5.0-cachedir.patch @@ -0,0 +1,16 @@ +https://github.com/pystardust/ytfzf/commit/cfc739211352b0d5249e48419a34ee6e1913aadd +From: Euro20179 <sandollar2020@gmail.com> +Date: Tue, 13 Sep 2022 18:50:36 -0700 +Subject: [PATCH] fix: if cache dir is missing, ytfzf complains when trying to + create instances.json +--- a/ytfzf ++++ b/ytfzf +@@ -2278,6 +2278,8 @@ do_an_event_function "on_post_set_vars" + # files + : "${hist_file:="$cache_dir/watch_hist"}" "${search_hist_file:="$cache_dir/search_hist"}" + ++[ ! -d "$cache_dir" ] && mkdir -p "$cache_dir" ++ + # Where do we put the list of healthy instances? + : "${instances_file:="$cache_dir/instances.json"}" + |