
| Current Path : /var/lib/dpkg/info/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/lib/dpkg/info/libcups2-dev:amd64.preinst |
#! /bin/sh
set -e
case "$1" in
install)
;;
upgrade)
if [ ! -L /usr/share/doc/libcups2-dev ]; then
rm -rf /usr/share/doc/libcups2-dev
fi
# workaround for upgrades where this changed from a directory to a file;
# this fails with overlays (containers, schroots) sometimes (LP: #1272285)
# this can be dropped in jessie+1/trusty+1
if [ -d /usr/include/cups/i18n.h ]; then
rm -rf /usr/include/cups/i18n.h
fi
;;
abort-upgrade)
;;
*)
echo "preinst called with unknown argument \`$1'" >&2
exit 0
;;
esac
exit 0