[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fistfight between libc6-dev and joystick



Hi,

	Well, we wish to remove symlinks, but not directories, so
 maybe the following would be useful? 

#!/bin/sh

set -e
# Remove old symlinks, if they exist
OLD_SYMLINKS="/usr/include/asm /usr/include/linux /usr/include/scsi"
set X $OLD_SYMLINKS
shift

# defensive programming
case $# in
	0) exit 0;;
esac

for link
do
	if test -l $link; then
		rm -f $link;
	fi
	shift;
done

-- 
 perl5.004 -wMMath::BigInt -e'$^V=new
 Math::BigInt+qq;$^F$^W783$[$%9889$^F47$|887
 68$^W596577669$%$^W5$^F3364$[$^W$^F$|838747$[8889739$%$|$^F673$%$^W98$^F76777$=5
 do{print+chr$^V%$^U;$^V/=$^U}while$^V!=$^W' Abigail
Manoj Srivastava  <srivasta@acm.org> <http://www.datasync.com/%7Esrivasta/>
Key C7261095 fingerprint = CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E


--  
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: