[debian-edu-commits] debian-edu/ 03/03: debian/educlient.postinst: Also treat symlinks as COPY_DIVERT_FILES.

Mike Gabriel sunweaver at debian.org
Thu Nov 12 14:05:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository educlient.

commit a87362ea65c868ed82f8ebf1191300be47de63a2
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Nov 12 15:05:25 2015 +0100

    debian/educlient.postinst: Also treat symlinks as COPY_DIVERT_FILES.
---
 debian/educlient.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/educlient.postinst b/debian/educlient.postinst
index 7927f20..01b29a5 100755
--- a/debian/educlient.postinst
+++ b/debian/educlient.postinst
@@ -68,7 +68,7 @@ for working_dir in ${ETC_DISTRIB_VERSION} ${ETC_DISTRIB_COMMON}  ${ETC_COMMON};
 			fi
 		done
 
-	COPY_DIVERT_FILES=$(find . -type f | cut -c 3-)
+	COPY_DIVERT_FILES=$(find . -type f | cut -c 3-; find . -type l | cut -d 3-)
 	for i in $COPY_DIVERT_FILES
 		do
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/educlient.git



More information about the debian-edu-commits mailing list