Merge pull request #6908 from lihexali/master

[le11] scripts/extract: force overwrite file on unziping files
This commit is contained in:
Frank Hartung
2022-09-22 19:20:43 +02:00
committed by GitHub

View File

@@ -60,7 +60,7 @@ case "${PKG_SOURCE_NAME}" in
7z x -o"${2}/${1}" "${FULL_SOURCE_PATH}"
;;
*.zip)
unzip -q "${FULL_SOURCE_PATH}" -d "${2}"
unzip -o -q "${FULL_SOURCE_PATH}" -d "${2}"
;;
*.diff | *.patch)
patch -d "${2}" -p1 < "${FULL_SOURCE_PATH}"