Kill custom readlink function

This was needed for very, very old versions of debianutils.
Closes: #498890
This commit is contained in:
Julien Cristau 2009-06-03 03:37:37 +02:00
parent 7deebf983f
commit 8f72294ada
1 changed files with 0 additions and 10 deletions

10
debian/xsfbs/xsfbs.sh vendored
View File

@ -303,16 +303,6 @@ EOF
fi
}
# we require a readlink command or shell function
if ! which readlink > /dev/null 2>&1; then
message "The readlink command was not found. Please install version" \
"1.13.1 or later of the debianutils package."
readlink () {
# returns what symlink in $1 actually points to
perl -e '$l = shift; exit 1 unless -l $l; $r = readlink $l; exit 1 unless $r; print "$r\n"' "$1"
}
fi
check_symlink () {
# syntax: check_symlink symlink
#