[pacman-dev] [PATCH 2/3] Fixed FS#4404 - rsync protocol support for makepkg.

Andrew Fyfe andrew at neptune-one.net
Sun Apr 1 19:20:15 EDT 2007


Added support for rsync to getDoownloadClient().

Signed-off-by: Andrew Fyfe <andrew at neptune-one.net>

diff --git a/scripts/makepkg.in b/scripts/makepkg.in
index 5f9adbd..f8ec869 100755
--- a/scripts/makepkg.in
+++ b/scripts/makepkg.in
@@ -709,6 +709,8 @@ for netfile in ${source[@]}; do
 	case "$proto" in
 		ftp|http|https)
 			dlclient=$(getDownloadClient FTPAGENT) || exit $?;;
+		rsync)
+			dlclient=$(getDownloadClient RSYNCAGENT) || exit $?;;
 		*)
 			error "$(eval_gettext "\$netfile was not found in the build directory and is not a proper URL.")"
 			msg "$(gettext "Aborting...")"
-- 
1.5.0.6





More information about the pacman-dev mailing list