Skip to content
Snippets Groups Projects
Commit 0a93129b authored by Simon McVittie's avatar Simon McVittie
Browse files

launch-options: Look for pv-adverb in ${libexecdir} first


The next commit will move it to there, but launch-options needs to be
able to cope gracefully with both locations, in order to handle both
old and new runtimes.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 3bf02e62
Branches
Tags
1 merge request!792pressure-vessel: Move non-entry-points into pkglibexecdir, shorten their names
......@@ -197,8 +197,15 @@ class PressureVessel(Component):
version = ''
self.adverb = os.path.join(
self.path, 'bin', 'pressure-vessel-adverb',
self.path,
'libexec', 'steam-runtime-tools-0', 'pv-adverb',
)
if not os.path.exists(self.adverb):
self.adverb = os.path.join(
self.path, 'bin', 'pressure-vessel-adverb',
)
self.description = '{}\n({})'.format(version or '(unknown)', path)
self.unruntime = os.path.join(
self.path, 'bin', 'pressure-vessel-unruntime',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment