diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-24 15:43:32 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-24 15:43:32 -0300 |
commit | cfa7f409663a1abf869b9efaa4b156f461c9c49a (patch) | |
tree | 137a23ad10ad535df65f42e92295566eb955ab7d /build.sh | |
parent | 97508a552c616b0f3c7569e54a017d53c5cd94f6 (diff) | |
download | pfsense-cfa7f409663a1abf869b9efaa4b156f461c9c49a.zip pfsense-cfa7f409663a1abf869b9efaa4b156f461c9c49a.tar.gz |
rsync is required
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -274,6 +274,10 @@ case $BUILDACTION in poudriere_update_ports ;; update_pkg_repo) + if [ -z "${DO_NOT_UPLOAD}" -a ! -f /usr/local/bin/rsync ]; then + echo "ERROR: rsync is not installed, aborting..." + exit 1 + fi poudriere_bulk ;; *) @@ -306,6 +310,11 @@ if [ -n "${SNAPSHOTS}" -a -z "${DO_NOT_UPLOAD}" ]; then exit 1 fi done + + if [ ! -f /usr/local/bin/rsync ]; then + echo "ERROR: rsync is not installed, aborting..." + exit 1 + fi fi if [ $# -gt 1 ]; then |