Update file run_onchange_after_13-post-install-packages.tmpl

This commit is contained in:
Brian Zalewski 2023-01-14 10:51:49 +00:00
parent f4934bb039
commit 0d69a3cd2e

View file

@ -0,0 +1,14 @@
{{- 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 -}}