summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2009-08-26 18:21:34 +0200
committerJulien Cristau <jcristau@debian.org>2009-08-26 18:21:34 +0200
commit8eb3d6a5ce9964876e48ea56048f1a5135ef4f28 (patch)
tree2e5803bd72b5f29a887359c075903b4ac7ea1c9b
parent1d0081bdf60944d8ef0935a531dfbcc5f01739c5 (diff)
downloadxutils-dev-8eb3d6a5ce9964876e48ea56048f1a5135ef4f28.tar.gz
xsfbs.sh: remove unused analyze_path
-rw-r--r--debian/xsfbs/xsfbs.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/debian/xsfbs/xsfbs.sh b/debian/xsfbs/xsfbs.sh
index 4461b1a..f869274 100644
--- a/debian/xsfbs/xsfbs.sh
+++ b/debian/xsfbs/xsfbs.sh
@@ -230,32 +230,6 @@ maplink () {
esac
}
-analyze_path () {
- # given a supplied set of pathnames, break each one up by directory and do an
- # ls -dl on each component, cumulatively; i.e.
- # analyze_path /usr/X11R6/bin -> ls -dl /usr /usr/X11R6 /usr/X11R6/bin
- # Thanks to Randolph Chung for this clever hack.
-
- local f g
-
- while [ -n "$1" ]; do
- reject_whitespace "$1"
- g=
- message "Analyzing $1:"
- for f in $(echo "$1" | tr / \ ); do
- if [ -e /$g$f ]; then
- ls -dl /$g$f /$g$f.dpkg-* 2> /dev/null || true
- g=$g$f/
- else
- message "/$g$f: nonexistent; directory contents of /$g:"
- ls -l /$g
- break
- fi
- done
- shift
- done
-}
-
find_culprits () {
local f p dpkg_info_dir possible_culprits smoking_guns bad_packages package \
msg