install.fairie/home/.chezmoiscripts/universal/run_onchange_after_13-post-install-packages.tmpl
Brian Zalewski 17f6d81423 Update 5 files
- /home/dot_ssh/system/run_onchanges_after_sshd.tmpl
- /home/dot_ssh/fail2ban/run_onchanges_after_fail2ban.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_13-post-install-packages.tmpl
- /home/.chezmoidata.yaml
- /software.yml
2023-01-27 09:28:02 +00:00

13 lines
464 B
Cheetah

{{- if (eq .host.distro.family "linux") -}}
#!/usr/bin/env bash
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
### Remove Firefox snap if Flatpak is installed
if command -v org.mozilla.firefox > /dev/null && command -v snap > /dev/null && snap list firefox | grep firefox > /dev/null; then
logg info 'Removing snap version of Firefox because Flatpak version is already installed'
sudo snap remove firefox
fi
{{ end -}}