We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e75a3 commit 45a239dCopy full SHA for 45a239d
qubes.Gpg2.service
@@ -7,4 +7,15 @@ for d in /etc "${XDG_CONFIG_HOME:-$HOME/.config}"; do
7
fi
8
done
9
10
-/usr/bin/python3 -P -m splitgpg2
+# The Python on Ubuntu 22.04 doesn't support -P yet. So don't try to use it
11
+# there.
12
+p=/usr/bin/python3
13
+if $p -P -c '' 2>/dev/null; then
14
+ p="$p -P"
15
+else
16
+ # Hacky work around. We don't want to search for Python modules in the
17
+ # directory we have been invoked.
18
+ cd /
19
+fi
20
+
21
+$p -m splitgpg2
0 commit comments