Group :: Text tools
RPM: gnupg2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 0015-ALT-replace-xloadimage-by-xli.patch
Download
Download
From 0a5e41994f8bf532e330f5a667d50619084709fe Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Mon, 28 Dec 2020 05:02:16 +0300
Subject: ALT: replace xloadimage by xli
---
g10/photoid.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/g10/photoid.c b/g10/photoid.c
index fc8866121..c620bad5a 100644
--- a/g10/photoid.c
+++ b/g10/photoid.c
@@ -395,8 +395,8 @@ get_default_photo_command(void)
/* OS X. This really needs more than just __APPLE__. */
return "open %I";
#else
- if (!path_access ("xloadimage", X_OK))
- return "xloadimage -fork -quiet -title 'KeyID 0x%k' stdin";
+ if (!path_access ("xli", X_OK))
+ return "xli -fork -quiet -title 'KeyID 0x%k' stdin";
else if (!path_access ("display",X_OK))
return "display -title 'KeyID 0x%k' %i";
else if (getuid () && !path_access ("xdg-open", X_OK))
--
2.25.4