update_responses_config 514 B

123456789101112
  1. #!/bin/bash
  2. [% c("var/set_default_env") -%]
  3. cat > [% shell_quote(c("basedir")) %]/tools/update-responses/config.yml << 'EOF'
  4. [% INCLUDE update_responses_config.yml -%]
  5. EOF
  6. # Update / create symlink $torbrowser_version -> $torbrowser_version-buildN
  7. versiondir=[% shell_quote(path(dest_dir)) _ '/' _ c("var/signed_status") _ '/' _ c("version") %]
  8. test -L "$versiondir" && rm -f "$versiondir"
  9. test -d "$versiondir" || ln -s [% shell_quote(c("version")) %]-[% shell_quote(c("var/torbrowser_build")) %] "$versiondir"