changeset 1:92a0646e38b6

fix backup
author fffilimonov
date Thu, 12 May 2022 05:32:53 -0500
parents dfc36e7ed22c
children 40833a7cd29f
files backup_repositories.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backup_repositories.sh	Thu May 12 13:51:59 2022 +0400
+++ b/backup_repositories.sh	Thu May 12 05:32:53 2022 -0500
@@ -5,7 +5,7 @@
 
 mkdir -p $backuphome 2>/dev/null;
 
-repos=$(curl -s http://${backupcredentials}@${domain}/private/tools/links.txt)
+repos=$(curl -sLu ${backupcredentials} http://${domain}/private/tools/links.txt)
 
 for repo in ${repos}; do
     if [ ! -d ${backuphome}/${repo} ]; then