diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-05-21 18:35:21 -0400 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-05-21 18:35:21 -0400 |
commit | fc398bf9e9b67f750f0f1971f38a49a45765c690 (patch) | |
tree | 2c06657eda687f168fd7768be7c56503ed100d02 /roles/linux_desktop/files/usr | |
parent | d99f2856dfb92054593dfc87b2f609ec5e0caf37 (diff) | |
download | selfhosted-fc398bf9e9b67f750f0f1971f38a49a45765c690.tar.gz selfhosted-fc398bf9e9b67f750f0f1971f38a49a45765c690.zip |
linux_desktop: use gajim from repos
Diffstat (limited to 'roles/linux_desktop/files/usr')
-rwxr-xr-x | roles/linux_desktop/files/usr/local/bin/gajim | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/linux_desktop/files/usr/local/bin/gajim b/roles/linux_desktop/files/usr/local/bin/gajim new file mode 100755 index 0000000..253be9b --- /dev/null +++ b/roles/linux_desktop/files/usr/local/bin/gajim @@ -0,0 +1,21 @@ +#! /usr/bin/python3 +# -*- coding: utf-8 -*- + +import sys + +sys.path = [ + '/usr/lib64/python39.zip', + '/usr/lib64/python3.9', + '/usr/lib64/python3.9/lib-dynload', + '/usr/local/lib64/python3.9/site-packages', + '/usr/local/lib/python3.9/site-packages', + '/usr/lib64/python3.9/site-packages', + '/usr/lib/python3.9/site-packages' +] + +import re +from gajim.gajim import main + +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) |