From abe5449c7fd7ccd5eae2f721db34cce1f643ee8a Mon Sep 17 00:00:00 2001 From: gobo72 Date: Mon, 14 Mar 2011 03:35:38 +0000 Subject: [PATCH] =?utf8?q?Pas=20de=20test=20d'int=C3=A9grit=C3=A9=20pour?= =?utf8?q?=20les=20liens=20symboliques?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- functions/fpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/fpkg b/functions/fpkg index 2d3b474..8781366 100644 --- a/functions/fpkg +++ b/functions/fpkg @@ -263,8 +263,8 @@ test_archive_integrity() local FILE=${2} local EXT=${3} - if [ ! -f ${FILE} ]; then - # The file may be absent, in this case simply abort without error + if [ ! -f ${FILE} -o -h ${FILE} ]; then + # The file may be absent, or a symbolic link. Abort without error return 0 fi -- 2.20.1