/usr/bin/0launch is in zeroinstall-injector 2.3.3-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | #! /usr/bin/python
import sys
import locale
from logging import warn
try:
locale.setlocale(locale.LC_ALL, '')
except locale.Error:
warn('Error setting locale (eg. Invalid locale)')
## PATH ##
import sys
if sys.argv[1:2] == ['--python-fallback']:
# Hack to let the OCaml front-end chain the Python.
# Using "python -m" isn't safe, because it adds the current directory
# to PYTHONPATH.
from zeroinstall.cmd import main
main(sys.argv[2:])
else:
from zeroinstall.injector.cli import main
main(sys.argv[1:])
|