Skip to content

Commit 297ec61

Browse files
committed
Fix files download again (Issue #32)
1 parent 715f5fd commit 297ec61

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 4.2.3 (2017/10/30)
4+
5+
* Fix files download again (Issue #32)
6+
37
## 4.2.2 (2017/10/29)
48

59
* Rebuild PATH

ftpgrab.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
###################################################################################
44
# #
5-
# FTPGrab v4.2.2 #
5+
# FTPGrab v4.2.3 #
66
# #
77
# Simple script to grab your files from a remote FTP server. #
88
# #
@@ -46,7 +46,7 @@ function ftpgrabIsDownloaded() {
4646
local _SRC_FILE_SHORT=""
4747
local _SRC_FILE_SHORT_2=""
4848
local _DEST_FILE=""
49-
local _SKIP_HASH=""
49+
local _SKIP_HASH=0
5050

5151
if [ "$DL_METHOD" == "curl" ]
5252
then
@@ -551,7 +551,7 @@ mkdir -p "$HASH_DIR"
551551
if [ ! -d "$HASH_DIR" ]; then ftpgrabEcho "ERROR: Cannot create dir $HASH_DIR with $(whoami) user"; exit 1; fi
552552
if [ ! -w "$HASH_DIR" ]; then ftpgrabEcho "ERROR: Dir $HASH_DIR is not writable by $(whoami)"; exit 1; fi
553553

554-
ftpgrabEcho "FTPGrab v4.2.2 ($BASENAME_FILE - $(date +"%Y/%m/%d %H:%M:%S"))"
554+
ftpgrabEcho "FTPGrab v4.2.3 ($BASENAME_FILE - $(date +"%Y/%m/%d %H:%M:%S"))"
555555
ftpgrabEcho "--------------"
556556

557557
# Check required packages

0 commit comments

Comments
 (0)