/usr/share/defoma/defoma-test.sh is in defoma 0.11.12ubuntu1.
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 | #! /bin/sh
mkdir -p var/lib/defoma/scripts
mkdir -p usr/share/defoma/scripts
mkdir -p etc/defoma
cp -r /usr/share/defoma/* usr/share/defoma
cp /etc/defoma/*.subst-rule etc/defoma
SYSTEM="postscript\npspreview\npsprint\nx-postscript\nxfont"
for i in /var/lib/defoma/*.font-cache; do
s=${i##*/}
s=${s%.font-cache}
if ! echo -e "$SYSTEM" | fgrep -q -x -e "$s"; then
cp $i var/lib/defoma
fi
done
echo "export DEFOMA_TEST_DIR=`pwd`; ${SHELL:-bash}"
|