Fix info comment

This commit is contained in:
q3aql 2022-01-23 00:09:05 +01:00
parent 36fee80af7
commit 36535837e2
4 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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}

View File

@ -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