This file is indexed.

/usr/share/anyremote/cfg-data/Utils/get-installed.sh is in anyremote-data 6.5-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
26
27
#!/bin/sh

# Params
#  1. Search pattern
#  2. $(CfgDir) value

if [ "x$1" = "x" ]; then
  exit 0;
fi; 

if [ "x$2" = "x" ]; then
  exit 0;
fi; 

CANDIDATES=`find $2/Server-mode/ -type f -exec grep -l "$1" {} \;|grep -v template|grep -v svn|grep -v mediacenter`

for CFGFILE in $CANDIDATES; do
  
  BINARY=`grep "GuiAppBinary=" $CFGFILE|sed 's/GuiAppBinary=//'`
  
  LOC=`which $BINARY 2> /dev/null`
  
  if [ "x$LOC" != "x" ]; then
     APP=`echo $CFGFILE|xargs -i basename {}|sed 's/.cfg//'`
     echo $APP
  fi; 
done