/usr/lib/emacsen-common/packages/install/select-xface is in select-xface 0.15-8.
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 | #!/bin/sh
# /usr/lib/emacsen-common/packages/install/select-xface
set -e
FLAVOR=$1
PACKAGE="select-xface"
if [ "X${FLAVOR}" = "X" ]; then
echo Need argument to determin FLAVOR of emacsen
exit 1
fi
if [ "X${PACKAGE}" = "X" ]; then
echo Internal error: need package nameen
exit 1
fi
if [ "X${FLAVOR}" = Xemacs ]; then exit 0; fi
ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
TOELDIR=../../../emacs/site-lisp/$PACKAGE
COMPILE_SRC="select-xface.el"
COMPILE_OPT="-batch -q -no-site-file -f batch-byte-compile"
echo -n "install/${PACKAGE}: Byte-compiling for ${FLAVOR} ..."
rm -rf ${ELCDIR}
install -m 755 -d ${ELCDIR}
cp ${ELDIR}/* ${ELCDIR}/
( cd "$ELDIR"
FILES=`echo *.el`
cd "$ELCDIR"
${FLAVOR} ${COMPILE_OPT} ${COMPILE_SRC} > ${ELCDIR}/CompilationLog 2>&1
rm -f ${ELCDIR}/*.el
for f in $FILES; do
ln -sf "$TOELDIR/$f" .
done
)
gzip -9 ${ELCDIR}/CompilationLog
chmod 644 ${ELCDIR}/CompilationLog.gz
if [ -f ${ELCDIR}/select-xface.elc ]; then
chmod 644 ${ELCDIR}/*.elc
fi
echo " done."
exit 0
|