mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
games-util/bottles: use unresolved path to umu-run
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
2 files changed
+18
No files matched your search
@@ -74,6 +74,7 @@ PATCHES=(
|
||||
"${FILESDIR}/${PN}-64.1-dont-stub-gi.repository.patch"
|
||||
"${FILESDIR}/${PN}-64.1-relax-AppStream-file-validation.patch"
|
||||
"${FILESDIR}/${PN}-66.6-remove-Flatpak-related-checks.patch"
|
||||
"${FILESDIR}/${PN}-66.6-r1-use-unresolved-path-to-umu-run.patch"
|
||||
)
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
@@ -0,0 +1,17 @@
|
||||
From: Pavel Sobolev <contact@paveloom.dev>
|
||||
Subject: [PATCH] Use unresolved path to `umu-run`
|
||||
|
||||
Otherwise, it will try to run `python-exec2` directly.
|
||||
|
||||
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
|
||||
--- a/bottles/backend/umu/provider.py
|
||||
+++ b/bottles/backend/umu/provider.py
|
||||
@@ -44,7 +44,7 @@ class UmuProvider:
|
||||
|
||||
def _inspect(self, path: Path, source: UmuProviderSource) -> UmuInstallation:
|
||||
try:
|
||||
- resolved = path.expanduser().resolve(strict=True)
|
||||
+ resolved = path.expanduser().absolute()
|
||||
except OSError as error:
|
||||
raise UmuProviderError(f"UMU launcher does not exist: {path}") from error
|
||||
if not resolved.is_file() or not os.access(resolved, os.X_OK):
|
||||
Reference in new issue
Block a user