From 04ce2bde4a5ca9c69661841bbb4fc14c4bb610b2 Mon Sep 17 00:00:00 2001 From: Gonzalo Exequiel Pedone Date: Fri, 25 Jun 2021 13:51:06 -0300 Subject: [PATCH] Trying to fix Github actions 4. --- ports/ci/linux-mingw/install_deps.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ports/ci/linux-mingw/install_deps.sh b/ports/ci/linux-mingw/install_deps.sh index 304a88f..a898627 100644 --- a/ports/ci/linux-mingw/install_deps.sh +++ b/ports/ci/linux-mingw/install_deps.sh @@ -83,10 +83,10 @@ ${EXEC} pacman --noconfirm --needed -S \ # Install NSIS - nsis=nsis-${NSIS_VERSION}-setup.exe - ${DOWNLOAD_CMD} "https://sourceforge.net/projects/nsis/files/NSIS%20${NSIS_VERSION:0:1}/${NSIS_VERSION}/${nsis}" +nsis=nsis-${NSIS_VERSION}-setup.exe +${DOWNLOAD_CMD} "https://sourceforge.net/projects/nsis/files/NSIS%20${NSIS_VERSION:0:1}/${NSIS_VERSION}/${nsis}" - if [ -e "${nsis}" ]; then +if [ -e "${nsis}" ]; then INSTALLSCRIPT=installscript.sh cat << EOF > ${INSTALLSCRIPT} @@ -106,9 +106,6 @@ EOF fi # Finish -ps -aux | grep wine -lsof | grep "root.x86_64/$HOME" -lsof | grep root.x86_64 -sudo umount "root.x86_64/$HOME" -sudo umount root.x86_64 +sudo umount -f "root.x86_64/$HOME" || true +sudo umount -f root.x86_64 || true