Skip to content

Commit

Permalink
Fix wget
Browse files Browse the repository at this point in the history
  • Loading branch information
GilbN committed Oct 3, 2024
1 parent 30044fd commit bec880e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ download_favicon_files() {
for url in $urls; do
# Remove the query parameters from the URL
clean_url="${url%%\?*}"
wget -P "${APP_ICON_FILEPATH}" "${clean_url}"
wget -O "${APP_ICON_FILEPATH}/$(basename "${clean_url}")" "${clean_url}"
printf 'Downloaded favicon: %s\n' "${clean_url}"
done
}
Expand Down

0 comments on commit bec880e

Please sign in to comment.