/usr/bin/gm-import_incoming is in gnumed-client 1.6.11+dfsg-3.
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 | #!/bin/bash
#==================================================
# This shell script is intended to be placed in
# /usr/bin/ and should be run to use the importer
# for external files into the INCOMING area of
# GNUmed.
#
# license: GPL v2 or later
# Karsten Hilbert
#--------------------------------------------------
# for debugging this script
# set -x
OPTIONS=$@
# packages which install the GNUmed python modules into a path not
# already accessible for imports via sys.path (say, /usr/share/gnumed/)
# may need to adjust PYTHONPATH appropriately here
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}/usr/share/gnumed/"
# now run the actual script
python -m Gnumed.importers.gmImportIncoming ${OPTIONS}
|