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