install.fairie/home/.chezmoiscripts/_universal/run_before_01-add-temporary-includes.tmpl
Brian Zalewski 8f1ffeb675 Update 4 files
- /home/.chezmoitemplates/universal/profile-inline
- /home/.chezmoiscripts/_universal/run_before_01-add-temporary-includes.tmpl
- /home/.chezmoidata.yaml
- /software.yml
2023-02-02 02:15:14 +00:00

16 lines
464 B
Cheetah

{{- if (ne .host.distro.family "windows") -}}
#!/usr/bin/env bash
### Ensure /tmp/tmp-profile is created
# Add pre-scaffolding profile to /tmp/tmp-profile so it's easier to navigate through scripts
cat <<'EOF' > /tmp/tmp-profile
{{ includeTemplate "universal/profile-inline" }}
EOF
### Ensure /tmp/tmp-logg is created and owned by root
# Add pre-scaffolding /tmp/tmp-logg
cat <<'EOF' > /tmp/tmp-logg
{{ includeTemplate "universal/logg-inline" }}
EOF
{{ end -}}