Skip to content

Commit

Permalink
Improving log
Browse files Browse the repository at this point in the history
  • Loading branch information
theypsilon authored Mar 4, 2024
1 parent 561ae5d commit b053e44
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions downloader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ download_file() {
exit 1
}

echo "Running MiSTer Downloader"
echo
echo -n "Running MiSTer Downloader"

rm ${SCRIPT_PATH} 2> /dev/null || true

Expand All @@ -143,12 +142,13 @@ if [ -s "${LATEST_SCRIPT_PATH}" ] ; then
fi
else
download_file "${SCRIPT_PATH}" "https://raw.githubusercontent.com/MiSTer-devel/Downloader_MiSTer/main/dont_download.sh"
echo -n "!"
fi

chmod +x "${SCRIPT_PATH}"

echo ; echo
export DOWNLOADER_LAUNCHER_PATH="${BASH_SOURCE[0]}"

chmod +x "${SCRIPT_PATH}"
if ! "${SCRIPT_PATH}" ; then
echo -e "Downloader failed!\n"
exit 1
Expand Down

0 comments on commit b053e44

Please sign in to comment.