[Piuparts-commits] [piuparts] 02/06: pre_remove_40_find_unowned_lib_links: ignore /lib/ld-lsb.so.[123]
Holger Levsen
holger at moszumanska.debian.org
Tue Jan 13 17:51:13 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit ae3d5cf71dc1e43f06095781ef648fc88420f005
Author: Andreas Beckmann <anbe at debian.org>
Date: Tue Jan 13 17:08:11 2015 +0100
pre_remove_40_find_unowned_lib_links: ignore /lib/ld-lsb.so.[123]
Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
custom-scripts/scripts/pre_remove_40_find_unowned_lib_links | 12 +++++++++++-
debian/changelog | 2 ++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/custom-scripts/scripts/pre_remove_40_find_unowned_lib_links b/custom-scripts/scripts/pre_remove_40_find_unowned_lib_links
index d5354e6..394fea6 100755
--- a/custom-scripts/scripts/pre_remove_40_find_unowned_lib_links
+++ b/custom-scripts/scripts/pre_remove_40_find_unowned_lib_links
@@ -10,6 +10,16 @@ do
test -L "$f" || continue
rl=$(readlink "$f")
test -n "${rl##/etc/alternatives/*}" || continue
- dpkg-query -S "$f" >/dev/null 2>&1 || echo "UNOWNED SYMLINK $f -> $rl"
+ if ! dpkg-query -S "$f" >/dev/null 2>&1
+ then
+ case "$f" in
+ /lib/ld-lsb.so.?)
+ # created by lsb-core
+ ;;
+ *)
+ echo "UNOWNED SYMLINK $f -> $rl"
+ ;;
+ esac
+ fi
done
done
diff --git a/debian/changelog b/debian/changelog
index 89ca195..569ba61 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,8 @@ piuparts (0.63) UNRELEASED; urgency=medium
* piuparts-slave.py:
- Handle Ctrl-C while downloading Packages files and flush/unreserve, too.
- Catch another exception that may happen while talking to the master.
+ * scripts/pre_remove_40_find_unowned_lib_links: Ignore /lib/ld-lsb.so.[123]
+ links created by lsb-core.
* scripts-no-usr-share-doc: Add exception for localepurge.
* post_distupgrade_base_cleanup: New custom script for generalized libdbX.Y
exceptions.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list