/usr/share/xul-ext/ubufox/scripts/check-component-enabled.py is in xul-ext-ubufox 2.8-0ubuntu1.
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 | #!/usr/bin/python
import sys
try:
import aptsources
import aptsources.distro
from aptsources.sourceslist import SourcesList
except:
sys.exit(2)
sourceslist = SourcesList()
sourceslist.refresh()
distro = aptsources.distro.get_distro()
distro.get_sources(sourceslist)
sys.exit(0 if sys.argv[1] in distro.download_comps else 1)
|