File: libklibc-dev.preinst

package info (click to toggle)
klibc 1.5.12-2lenny1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,856 kB
  • ctags: 6,757
  • sloc: ansic: 44,932; asm: 2,318; perl: 758; makefile: 141; sh: 136; yacc: 105
file content (14 lines) | stat: -rw-r--r-- 271 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

#DEBHELPER#

BASEDIR=/usr/lib/klibc/include
SYMLINKDIRS="asm asm-generic asm-i386 asm-ia64 asm-parisc asm-ppc asm-ppc64 asm-sparc asm-sparc64 asm-x86_64 linux"

for x in ${SYMLINKDIRS}; do
	if [ -L ${BASEDIR}/${x} ]; then
		rm ${BASEDIR}/${x}
	fi
done