Pas de test d'intégrité pour les liens symboliques
[hvlinux.git] / functions / fpkg
index 2d3b474..8781366 100644 (file)
@@ -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