[Piuparts-commits] [piuparts] 05/08: pre_remove_40_find_missing_md5sums: ignore /home

Holger Levsen holger at moszumanska.debian.org
Mon Jul 20 08:48:56 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 dfaa9d54dd5956cc0e8c93460eb73a6e5b87eafe
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Jul 19 22:43:11 2015 +0200

    pre_remove_40_find_missing_md5sums: ignore /home
    
    that is turned from a directory into a file by post_setup_forbid_home
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 custom-scripts/scripts/pre_remove_40_find_missing_md5sums | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/custom-scripts/scripts/pre_remove_40_find_missing_md5sums b/custom-scripts/scripts/pre_remove_40_find_missing_md5sums
index 789e3d1..ccb6e08 100755
--- a/custom-scripts/scripts/pre_remove_40_find_missing_md5sums
+++ b/custom-scripts/scripts/pre_remove_40_find_missing_md5sums
@@ -28,6 +28,9 @@ do
 	while read f ; do
 		if [ -d "$f" ]; then
 			: # ignore directories
+		elif [ "$f" = "/home" ]; then
+			: # ignore directory shipped by base-files that is
+			  # turned into a file by our post_setup_forbid_home script
 		elif [ -L "$f" ]; then
 			: # ignore links
 		elif [ -z "${f%%/etc/*}" ]; then

-- 
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