Ajout option pour effacer un fichier avant de le re-telecharger
[hvlinux.git] / stage4 / packages-update
index 5bd7d05..f8da0ae 100755 (executable)
@@ -16,8 +16,8 @@ for module in ${XORG_MODULES_LIST}; do
     MOD_NAME=$(get_pkg_name ${module})
     DEST_DIR=${LFS_PKG_DIR}/${MOD_NAME}
 
-    fpkg -d ${DEST_DIR} -e wget ${module} ${BLFS_XORG_URL}
-    fpkg -d ${DEST_DIR} -e md5 ${module} ${BLFS_XORG_URL}
+    fpkg -d ${DEST_DIR} -e wget -w ${module} ${BLFS_XORG_URL}
+    fpkg -d ${DEST_DIR} -e md5  -w ${module} ${BLFS_XORG_URL}
 
     if [ "${MOD_NAME}" = "driver" ]; then
        if [ -n "${XORG_VIDEO_DRIVER}" ]; then