Repository URL to install this package:
|
Version:
4.6.0-rt1tickless-10.00.Custom ▾
|
linux-headers-4.6.0-rt1tickless
/
usr
/
src
/
linux-headers-4.6.0-rt1tickless
/
debian
/
examples
/
etc
/
kernel
/
header_prerm.d
/
link
|
|---|
#! /bin/bash
version=$1
if [ -n "$DEB_MAINT_PARAMS" ]; then
eval set -- "$DEB_MAINT_PARAMS"
if [ -z "$1" ] || [ "$1" != "remove" ]; then
exit 0;
fi
fi
# passing the kernel version is required
[ -z "$version" ] && exit 1
HEADERDIR=/usr/src/linux-headers-$version
test -d $HEADERDIR || exit 0
# Make sure the asm link is gone
if [ -L $HEADERDIR/include/asm ]; then
rm $HEADERDIR/include/asm
fi
exit 0