summaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-24 15:43:32 -0300
committerRenato Botelho <renato@netgate.com>2015-09-24 15:43:32 -0300
commitcfa7f409663a1abf869b9efaa4b156f461c9c49a (patch)
tree137a23ad10ad535df65f42e92295566eb955ab7d /build.sh
parent97508a552c616b0f3c7569e54a017d53c5cd94f6 (diff)
downloadpfsense-cfa7f409663a1abf869b9efaa4b156f461c9c49a.zip
pfsense-cfa7f409663a1abf869b9efaa4b156f461c9c49a.tar.gz
rsync is required
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 0eba523..cb59ae6 100755
--- a/build.sh
+++ b/build.sh
@@ -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
OpenPOWER on IntegriCloud