This file is indexed.

/usr/lib/emacsen-common/packages/install/lookup-el is in lookup-el 1.4.1-13.

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
56
57
58
59
60
61
62
63
64
#!/bin/sh
# /usr/lib/emacsen-common/packages/install/lookup-el
set -e

FLAVOR=$1
PACKAGE=lookup-el
VERSION=1.4

if [ -z "${FLAVOR}" ]; then exit 0; fi
if [ "${FLAVOR}" = emacs ]; then exit 0; fi
if [ "${FLAVOR}" = emacs19 ]; then exit 0; fi
if [ "${FLAVOR}" = mule2 ]; then exit 0; fi

echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}

#FLAGS="-no-site-file -q -batch -l path.el -f batch-byte-compile"
FLAGS="-no-site-file -q -batch -l path.el -l lookup-compile.el"

ELDIR="/usr/share/emacs/site-lisp/${PACKAGE}"
ELCDIR="/usr/share/${FLAVOR}/site-lisp/${PACKAGE}"
TOELDIR=../../../emacs/site-lisp/$PACKAGE

FLAVORTEST=`echo ${FLAVOR} | sed -e s/^s// | cut -c-6`
if [ "X${FLAVORTEST}" = "Xxemacs" ]; then
  EMACSEN_MULE=`ls /usr/bin/${FLAVOR}*-mule* 2>/dev/null | head -1`
  if [ -n "${EMACSEN_MULE}" ]; then
    EMACSEN_MULE=`basename ${EMACSEN_MULE}`
  fi
else
  EMACSEN_MULE=${FLAVOR}
fi
if [ -z "${EMACSEN_MULE}" ]; then exit 0; fi

install -m 755 -d ${ELCDIR}
rm -f ${ELCDIR}/*.el

cd ${ELDIR}
# Don't byte-compile lookup-compile.el which causes an infinite loop.
# Don't byte-compile ndnmz.el which depends on flim.
FILES="`echo *.el | sed -e s/lookup-compile.el// -e s/ndnmz.el//`"
cp ${FILES} lookup-compile.el ${ELCDIR}
cp /usr/share/pixmaps/${PACKAGE}/*.xbm ${ELCDIR}
cp /usr/share/pixmaps/${PACKAGE}/*.xpm ${ELCDIR}

cd ${ELCDIR}
cat << EOF > path.el
(setq load-path (cons "/usr/share/${FLAVOR}/site-lisp/bitmap-mule" load-path))
(setq load-path (cons "." load-path))
(setq byte-compile-warnings nil)
EOF
${EMACSEN_MULE} ${FLAGS} ${FILES} > CompilationLog 2>&1
gzip -9 -f CompilationLog

rm -f *.el *xbm *xpm
for f in ${FILES}; do
  ln -sf "$TOELDIR/$f" "$ELCDIR"
done
f=ndnmz.el
if [ -f ${ELDIR}/${f} ]; then
  rm -f ${ELCDIR}/${f} ${ELCDIR}/${f}c
  ln -sf "$TOELDIR/$f" "$ELCDIR"
fi

exit 0