diff options
author | Julien Cristau <jcristau@debian.org> | 2009-06-03 03:37:37 +0200 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2009-06-03 03:37:37 +0200 |
commit | 8f72294ada477f003888b6776883c1dd98289f3f (patch) | |
tree | b356d6908850fe496d96716bd7e2cdb9bd30f039 | |
parent | 7deebf983f53c505bc25171ab77fdc408f250a6e (diff) | |
download | xutils-dev-8f72294ada477f003888b6776883c1dd98289f3f.tar.gz |
Kill custom readlink function
This was needed for very, very old versions of debianutils.
Closes: #498890
-rw-r--r-- | debian/xsfbs/xsfbs.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/debian/xsfbs/xsfbs.sh b/debian/xsfbs/xsfbs.sh index 197eb74..781826f 100644 --- a/debian/xsfbs/xsfbs.sh +++ b/debian/xsfbs/xsfbs.sh @@ -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 # |