This file is indexed.

/usr/sbin/gm-install_arriba is in gnumed-client-de 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#!/bin/bash

# ===========================================================
# Fetch and install ARRIBA.
#
#	http://www.arriba-hausarzt.de
#	http://www.arriba-hausarzt.de/material/software.html
#
# ===========================================================

JAR_VER="2.4.1"

# ===========================================================
DL_SOURCE_URL="http://www.arriba-hausarzt.de/downloads/arriba.jar"
DL_JAR_NAME="arriba.jar"
DL_TARGET_DIR="/tmp"
APP_NAME="arriba"
VERSIONED_JAR_NAME="${APP_NAME}-${JAR_VER}.jar"
INSTALL_BASE="/usr/local/bin"
WRAPPER_NAME=${DL_TARGET_DIR}/${APP_NAME}


# get jar
wget -c ${DL_SOURCE_URL} -P ${DL_TARGET_DIR}/
mv ${DL_TARGET_DIR}/${DL_JAR_NAME} ${DL_TARGET_DIR}/${VERSIONED_JAR_NAME}


# create wrapper
echo "#!/bin/sh"										> ${WRAPPER_NAME}
echo ""													>> ${WRAPPER_NAME}
echo "java -jar  ${INSTALL_BASE}/${APP_NAME}.jar \$@"	>> ${WRAPPER_NAME}
echo ""													>> ${WRAPPER_NAME}
echo "# ======================================="		>> ${WRAPPER_NAME}
chmod +x ${WRAPPER_NAME}


# install jar
echo "Sie müssen jetzt das Passwort für root eingeben (außer Sie SIND root):"
su -c "mv -vf ${WRAPPER_NAME} ${INSTALL_BASE}/${APP_NAME} && mv -vf ${DL_TARGET_DIR}/${VERSIONED_JAR_NAME} ${INSTALL_BASE}/${VERSIONED_JAR_NAME} && ln -f -s -v ${INSTALL_BASE}/${VERSIONED_JAR_NAME} ${INSTALL_BASE}/${APP_NAME}.jar"


# remove old jars ?
echo ""
echo -n "Alte ARRIBA-Versionen entfernen ? [j/N]: "
read REPLY
if test "${REPLY}" = "j" ; then

	OLD_JARS="/usr/bin/arriba* /usr/local/bin/arriba-2.0.3.jar /usr/local/bin/arriba-2.0.4.jar /usr/local/bin/arriba-2.2.2.jar"

	echo "Sie müssen jetzt das Passwort für root eingeben (außer Sie SIND root):"
	su -c "rm -v -f ${OLD_JARS}"
fi


exit 0