mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
Closes: https://bugs.gentoo.org/922206 Removes site-packages/tools which wasn't supposed to be included at all, installs the contents of site-packages/hyfetch/scripts to the proper locations and deletes the folder. This has the addded benefit of bringing this version of the package more inline with how other distros package this project. Signed-off-by: Bailey Kasin <baileykasin@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36577 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
23 lines
757 B
Diff
23 lines
757 B
Diff
From: Bailey Kasin <baileykasin@gmail.com>
|
|
Date: Mon, 02 Oct 2023 23:02:10 -0700
|
|
Subject: [PATCH] use system neowofetch
|
|
|
|
Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
|
|
Forwarded: not-needed
|
|
|
|
---
|
|
diff --git a/hyfetch/neofetch_util.py b/hyfetch/neofetch_util.py
|
|
index 17829ac..1fcfcfc 100644
|
|
--- a/hyfetch/neofetch_util.py
|
|
+++ b/hyfetch/neofetch_util.py
|
|
@@ -285,7 +285,7 @@ def run_neofetch_cmd(args: str, pipe: bool = False) -> str | None:
|
|
Run neofetch command
|
|
"""
|
|
if platform.system() != 'Windows':
|
|
- full_cmd = ['/usr/bin/env', 'bash', get_command_path(), *shlex.split(args)]
|
|
+ full_cmd = ['/usr/bin/neowofetch', *shlex.split(args)]
|
|
|
|
else:
|
|
cmd = get_command_path().replace("\\", "/").replace("C:/", "/c/")
|
|
|