/usr/bin/pyblosxom-cmd is in pyblosxom 1.5.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 23 24 25 | #! /usr/bin/python
#######################################################################
# This file is part of Pyblosxom.
#
# Copyright (c) 2003 - 2007 Wari Wahab
#
# Pyblosxom is distributed under the MIT license. See the file LICENSE
# for distribution details.
#
# $Id: pyblosxom.py 913 2006-08-08 20:29:42Z willhelm $
#######################################################################
import os, sys
# this allows for a config.py override
script = os.environ.get('SCRIPT_FILENAME', None)
if script is not None:
sys.path.insert(0, os.path.dirname(script))
sys.path.insert(0, os.getcwd())
from Pyblosxom.commandline import command_line_handler
if __name__ == '__main__':
sys.exit(command_line_handler("pyblosxom-cmd", sys.argv))
|