preinst is in libklibc-dev 2.0.3-0ubuntu1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/sh
set -e
BASEDIR=/usr/lib/klibc/include/
# these are shipped symlinks to linux-libc-dev and not directories
if [ -d ${BASEDIR}linux ] || [ -d ${BASEDIR}asm ]; then
rm -rf ${BASEDIR}linux ${BASEDIR}asm*
fi
|