install.fairie/home/.chezmoiscripts/debian/run_onchange_before_14-warp.tmpl
Brian Zalewski 5c0c00ad8a Update 8 files
- /home/.chezmoiscripts/universal/run_onchange_after_81-kubesphere.yml.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_80-bash-completions.tmpl
- /home/.chezmoiscripts/universal/run_onchange_before_11-install-docker.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_14-warp.tmpl
- /home/.chezmoiscripts/debian/run_onchange_before_14-warp.tmpl
- /home/.chezmoiscripts/ubuntu/run_onchange_before_14-warp.tmpl
- /home/.chezmoidata.yaml
- /software.yml
2023-02-05 08:09:07 +00:00

14 lines
659 B
Bash

#!/usr/bin/env bash
{{ includeTemplate "universal/logg-before" }}
### Add CloudFlare WARP desktop app apt-get source
if [ ! -f /etc/apt/sources.list.d/cloudflare-client.list ]; then
logg info 'Adding CloudFlare WARP keyring'
curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
logg info 'Adding apt source reference'
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
sudo apt-get update
fi