Do not send files to final place if hostname is empty

This commit is contained in:
Renato Botelho 2016-05-16 09:55:22 -03:00
parent e2cc8b1861
commit e362ec5bce

View File

@ -1938,7 +1938,7 @@ pkg_repo_rsync() {
print_error_pfS
fi
if [ -z "${USE_PKG_REPO_STAGING}" ]; then
if [ -z "${USE_PKG_REPO_STAGING}" -o -z "${PKG_FINAL_RSYNC_HOSTNAME}" ]; then
return
fi