Update 2 files

- /home/.chezmoiscripts/universal/run_onchange_after_4-environment-profile.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_3-system-bin.tmpl
This commit is contained in:
Brian Zalewski 2023-01-10 08:59:38 +00:00
parent 255e37e15d
commit 5356bcd450
2 changed files with 6 additions and 0 deletions

View file

@ -1,6 +1,9 @@
{{- if (eq .host.distro.family "linux") -}} {{- if (eq .host.distro.family "linux") -}}
#!/usr/bin/env bash #!/usr/bin/env bash
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
### Copy ~/.local/bin/squash-symlink to /usr/local/bin/squash-symlink ### Copy ~/.local/bin/squash-symlink to /usr/local/bin/squash-symlink
if [ ! -f /usr/local/bin/squash-symlink ] && [ -f "$HOME/.local/bin/squash-symlink" ]; then if [ ! -f /usr/local/bin/squash-symlink ] && [ -f "$HOME/.local/bin/squash-symlink" ]; then
logg info 'Copying ~/.local/bin/squash-symlink to /usr/local/bin/squash-symlink' logg info 'Copying ~/.local/bin/squash-symlink to /usr/local/bin/squash-symlink'

View file

@ -1,6 +1,9 @@
{{- if (eq .host.distro.family "linux") -}} {{- if (eq .host.distro.family "linux") -}}
#!/usr/bin/env bash #!/usr/bin/env bash
{{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }}
### Ensure QT_STYLE_OVERRIDE is set in /etc/environment ### Ensure QT_STYLE_OVERRIDE is set in /etc/environment
logg info 'Ensuring QT_STYLE_OVERRIDE is set in /etc/environment' logg info 'Ensuring QT_STYLE_OVERRIDE is set in /etc/environment'
if cat /etc/environment | grep QT_STYLE_OVERRIDE; then if cat /etc/environment | grep QT_STYLE_OVERRIDE; then