We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c5691 commit 6adb811Copy full SHA for 6adb811
misc/build.func
@@ -295,7 +295,7 @@ get_header() {
295
mkdir -p "/usr/local/community-scripts/headers"
296
297
# Check if local file already present
298
- if [ ! -f "$local_header_path" ]; then
+ if [ ! -s "$local_header_path" ]; then
299
wget -qO "$local_header_path" "$header_url"
300
if [ $? -ne 0 ]; then
301
echo -e "${WARN}${BOLD}${YLW}Failed to download header for ${app_name}. No header will be displayed.${CL}"
0 commit comments