File: linux-kernel-headers.preinst

package info (click to toggle)
linux-kernel-headers 2.5.999-test7-bk-17
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 28,268 kB
  • ctags: 214,024
  • sloc: ansic: 324,929; cpp: 783; makefile: 79; asm: 61; sh: 61
file content (13 lines) | stat: -rw-r--r-- 449 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
set -e

# Old versions of glibc installed these symlinks.  Remove them
# if they exist.
if [ -L /usr/include/asm ] ; then rm -f /usr/include/asm ; fi
if [ -L /usr/include/linux ] ; then rm -f /usr/include/linux ; fi
if [ -L /usr/include/scsi ] ; then rm -f /usr/include/scsi ; fi

# Another potential symlink which should not exist.  Just in case.
if [ -L /usr/include/asm-generic ] ; then rm -f /usr/include/asm-generic ; fi

#DEBHELPER#