/usr/bin/pyrpub is in pyrite-publisher 2.1.1-8.
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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | #!/usr/bin/python
# -*-Python-*-
import sys
import traceback
guiException = None
try:
import dtkmain
except:
from PyritePublisher import dtkmain
try:
import gui_wxwin
except:
try:
from PyritePublisher import gui_wxwin
except:
guiException = sys.exc_info()
if len(sys.argv) == 1:
if guiException != None:
print >>sys.stderr, "No arguments given, but error starting GUI (is python-wxgtk2.6 installed?)"
traceback.print_exception(guiException[0],guiException[1],guiException[2])
sys.exit(1)
try:
app = gui_wxwin.PPApp(0)
app.MainLoop()
sys.exit()
except SystemExit:
pass
except:
traceback.print_exc()
sys.exit(1)
dtkmain.PPCLI()(sys.argv)
|