Use verbose rsync, simplify rsync command
This commit is contained in:
parent
700722f048
commit
86bb11f41c
3
aurmake
3
aurmake
|
@ -16,6 +16,5 @@ printf "Created packages\n"
|
|||
|
||||
if [ "$1" = "publish" ]; then
|
||||
[ ! -x "$(command -v rsync)" ] && printf "rsync not found.\n" > /dev/stderr && exit 1
|
||||
rsync -a --ignore-existing packages/ ${SERVER_USER}@${SERVER_IP}:${SERVER_LOCATION}/packages/
|
||||
rsync -a packages/*.db* ${SERVER_USER}@${SERVER_IP}:${SERVER_LOCATION}/packages/
|
||||
rsync -avPz packages/ ${SERVER_USER}@${SERVER_IP}:${SERVER_LOCATION}/packages/
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue