tools: &tools !get_default "{tools-dir}" path: &path !join_path [*tools, aquatone] install_commands: - mkdir /tmp/aquatone - wget -q https://github.com/michenriksen/aquatone/releases/download/v1.7.0/aquatone_linux_amd64_1.7.0.zip -O /tmp/aquatone/aquatone.zip - bash -c 'if [[ ! $(which unzip) ]]; then sudo apt install -y zip; fi' - unzip /tmp/aquatone/aquatone.zip -d /tmp/aquatone - !join [mv /tmp/aquatone/aquatone, *path] - rm -rf /tmp/aquatone - bash -c 'found=false; for loc in {/usr/bin/google-chrome,/usr/bin/google-chrome-beta,/usr/bin/google-chrome-unstable,/usr/bin/chromium-browser,/usr/bin/chromium}; do if [[ $(which $loc) ]]; then found=true; break; fi ; done; if [[ $found = false ]]; then sudo apt install -y chromium-browser ; fi' uninstall_commands: - !join [rm, *path]