Compare commits

..

No commits in common. "a836417db2e0eac5486cc05db0da369c42a4563d" and "ea51f0b56bf001d3d4701face29dee64b13bc2ca" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@ projects+=("<%= project['project'] %> <%= project['mirror_project'] %> <%= custo
#<% end %> #<% end %>
if [[ ${customer} == 'common' ]]; then if [[ ${customer} == 'common' ]]; then
projects+=("<%= @location %> <%= @location %>-mirror ${customer}") projects+=("<%= @location %> <%= @location %>-mirror <%= customer %>")
fi fi

View file

@ -11,7 +11,7 @@ base_dir="${project}:${bucket}"
stat_dir="/opt/statistics" stat_dir="/opt/statistics"
customer_dir="${stat_dir}/${location}" customer_dir="${stat_dir}/${location}"
mkdir -p "${customer_dir}" mkdir -p "${customer_dir}"
rclone mkdir --no-check-certificate --webdav-headers "Host,sunet.drive.sunet.se" --use-cookies "${base_dir}/${location}" rclone mkdir "${base_dir}/${location}"
echo "${userjson}" | jq . >"${customer_dir}/users.json" echo "${userjson}" | jq . >"${customer_dir}/users.json"
status=${?} status=${?}
if [[ ${status} -eq 0 ]]; then if [[ ${status} -eq 0 ]]; then