File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Changelog
22
3+ ## 4.2.2 (2017/10/29)
4+
5+ * Rebuild PATH
6+
37## 4.2.1 (2017/10/16)
48
59* Add ssmtp on Docker image to send emails
Original file line number Diff line number Diff line change 22
33# ##################################################################################
44# #
5- # FTPGrab v4.2.1 #
5+ # FTPGrab v4.2.2 #
66# #
77# Simple script to grab your files from a remote FTP server. #
88# #
@@ -481,6 +481,7 @@ function ftpgrabDebug() {
481481# ## BEGIN ###
482482
483483# SCRIPT_NAME=$(basename "$0")
484+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH
484485
485486# Default config
486487DIR_DEST=" /tmp/seedbox"
@@ -550,7 +551,7 @@ mkdir -p "$HASH_DIR"
550551if [ ! -d " $HASH_DIR " ]; then ftpgrabEcho " ERROR: Cannot create dir $HASH_DIR with $( whoami) user" ; exit 1; fi
551552if [ ! -w " $HASH_DIR " ]; then ftpgrabEcho " ERROR: Dir $HASH_DIR is not writable by $( whoami) " ; exit 1; fi
552553
553- ftpgrabEcho " FTPGrab v4.2.1 ($BASENAME_FILE - $( date +" %Y/%m/%d %H:%M:%S" ) )"
554+ ftpgrabEcho " FTPGrab v4.2.2 ($BASENAME_FILE - $( date +" %Y/%m/%d %H:%M:%S" ) )"
554555ftpgrabEcho " --------------"
555556
556557# Check required packages
You can’t perform that action at this time.
0 commit comments