Fix info comment
This commit is contained in:
parent
36fee80af7
commit
36535837e2
|
@ -728,12 +728,12 @@ elif [ "${1}" == "-i" ] ; then
|
|||
current_tool=$(cat ${dirConfig}/ks-upload-tool)
|
||||
if [ "${current_tool}" == "scp" ] ; then
|
||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upa -e)"
|
||||
echo ""
|
||||
fi
|
||||
if [ "${current_tool}" == "scp-rsa" ] ; then
|
||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upa -e)"
|
||||
echo ""
|
||||
fi
|
||||
while [ ${count} -le ${totalFiles} ] ; do
|
||||
|
|
|
@ -569,7 +569,7 @@ function createConfig() {
|
|||
fi
|
||||
# Configure upload tool by default
|
||||
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upa -e' for edit)"
|
||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upf -e' for edit)"
|
||||
else
|
||||
echo "scp" > ${dirConfig}/ks-upload-tool
|
||||
fi
|
||||
|
@ -755,12 +755,12 @@ elif [ "${1}" == "-i" ] ; then
|
|||
current_tool=$(cat ${dirConfig}/ks-upload-tool)
|
||||
if [ "${current_tool}" == "scp" ] ; then
|
||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upf -e)"
|
||||
echo ""
|
||||
fi
|
||||
if [ "${current_tool}" == "scp-rsa" ] ; then
|
||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upf -e)"
|
||||
echo ""
|
||||
fi
|
||||
while [ ${count} -le ${totalFiles} ] ; do
|
||||
|
|
|
@ -498,7 +498,7 @@ function createConfig() {
|
|||
fi
|
||||
# Configure upload tool by default
|
||||
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upa -e' for edit)"
|
||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upr -e' for edit)"
|
||||
else
|
||||
echo "scp" > ${dirConfig}/ks-upload-tool
|
||||
fi
|
||||
|
@ -679,12 +679,12 @@ elif [ "${1}" == "-i" ] ; then
|
|||
if [ "${current_tool}" == "scp" ] ; then
|
||||
echo ""
|
||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upr -e)"
|
||||
fi
|
||||
if [ "${current_tool}" == "scp-rsa" ] ; then
|
||||
echo ""
|
||||
echo "* NOTE: You are using 'scp' to upload files and no progress will be shown."
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upv -e)"
|
||||
echo "* IMPORTANT: It's possible switch to 'rsync' if you wish (Command: ks-upr -e)"
|
||||
fi
|
||||
if [ -d ${dirLocal} ] ; then
|
||||
sendFile ${password} "${dirLocal}" ${user} ${server} ${dirServer}
|
||||
|
|
|
@ -542,7 +542,7 @@ function createConfig() {
|
|||
fi
|
||||
# Configure upload tool by default
|
||||
if [ -f ${dirConfig}/ks-upload-tool ] ; then
|
||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upa -e' for edit)"
|
||||
echo "+ The UPLOAD TOOL configuration already exists (Use: 'ks-upv -e' for edit)"
|
||||
else
|
||||
echo "scp" > ${dirConfig}/ks-upload-tool
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user