/usr/sbin/update-vflibcap is in vflib3 3.6.14.dfsg-1.1build1.
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 | #!/bin/sh
# update-vflibcap
# Copyright 2002 Masayuki Hatta <mhatta@debian.org>
# Public Domain.
DEFOMAFILES=`if [ -d /var/lib/defoma/vflib3.d ]; then /bin/ls -1 /var/lib/defoma/vflib3.d/* 2> /dev/null| egrep -v '(id-cache|.dpkg-[a-z]*|~)$'; fi`
VFLIBDIR=/etc/vflib3
VFLIBCAPCOMMON=/etc/vflib3/vflibcaps-common/vflibcap.in
VFLIBCAPCOMMON2=/etc/vflib3/vflibcaps-common/vflibcap-tex.in
if [ "x$1" = "x-v" ]; then
VERBOSE=true
fi
if [ "$VERBOSE" = "true" ]; then
if [ -f "$VFLIBDIR/vflibcap" ]; then
echo -n "Regenerating $VFLIBDIR/vflibcap... " >&2
else
echo -n "Generating $VFLIBDIR/vflibcap... " >&2
fi
if [ -f "$VFLIBDIR/vflibcap-tex" ]; then
echo -n "Regenerating $VFLIBDIR/vflibcap-tex... " >&2
else
echo -n "Generating $VFLIBDIR/vflibcap-tex... " >&2
fi
fi
#
# Generate vflibcap.
#
(echo "### This file is automatically generated by update-vflibcap"; \
echo "#"; \
echo "# Please do not edit this file directly. If you want to change or add"; \
echo "# anything please take a look at the files in /var/lib/defoma/,vflib3.d and invoke"; \
echo "# update-vflibcap."; \
echo "#"; \
echo "###" ) > ${VFLIBDIR}/vflibcap.new
cat ${VFLIBCAPCOMMON} ${DEFOMAFILES} >> ${VFLIBDIR}/vflibcap.new
mv ${VFLIBDIR}/vflibcap.new ${VFLIBDIR}/vflibcap
#
# Generate vflibcap-tex.
#
(echo "### This file is automatically generated by update-vflibcap"; \
echo "#"; \
echo "# Please do not edit this file directly. If you want to change or add"; \
echo "# anything please take a look at the files in /var/lib/defoma/vflib3.d, and invoke"; \
echo "# update-vflibcap."; \
echo "#"; \
echo "###" ) > ${VFLIBDIR}/vflibcap-tex.new
cat ${VFLIBCAPCOMMON2} ${DEFOMAFILES} >> ${VFLIBDIR}/vflibcap-tex.new
mv ${VFLIBDIR}/vflibcap-tex.new ${VFLIBDIR}/vflibcap-tex
if [ "$VERBOSE" = "true" ]; then
echo "done"
fi
|