Commit 8cc6780d authored by Andrea Scarpino's avatar Andrea Scarpino

do not clean FTP in NOUPLOAD mode

parent 03d63de2
......@@ -442,11 +442,12 @@ main(){
printf "${BOLD}${REPO}.db.tar.gz${DEFA}...\n"
update
printf "Uploading files..."
[ "${NOUPLOAD}" != "true" ] && upload
printf "Cleanup ftp..."
cleanup_ftp
if [ "${NOUPLOAD}" != "true" ]; then
printf "Uploading files..."
upload
printf "Cleanup ftp..."
cleanup_ftp
fi
if [ "${NOCONFIRM}" != "true" ]; then
if [ "${ADD}" == "true" ]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment