Update 2 files

- /home/.chezmoiscripts/universal/run_onchange_after_05-log-config.sh.tmpl
- /home/.chezmoiscripts/universal/run_onchange_after_06-bin-symlink.tmpl
This commit is contained in:
Brian Zalewski 2023-04-11 22:03:34 +00:00
parent 91a9411f55
commit 741f8be2ea
2 changed files with 8 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{{- if (ne .host.distro.family "windows") -}} {{- if (ne .host.distro.family "windows") -}}
#!/usr/bin/env bash #!/usr/bin/env bash
# @file `/var/log/user` Folder # @file `/var/log/user` Folders
# @brief Creates an empty directory for each user in `/var/log/user` # @brief Creates an empty directory for each user in `/var/log/user`
# @description # @description
# This script creates an empty directory with each user's name in `/var/log/user`. It initializes the folder in hopes # This script creates an empty directory with each user's name in `/var/log/user`. It initializes the folder in hopes

View file

@ -1,5 +1,12 @@
{{- if (ne .host.distro.family "windows") -}} {{- if (ne .host.distro.family "windows") -}}
#!/usr/bin/env bash #!/usr/bin/env bash
# @file Python 2 / Python 3 Symlink
# @brief Symlinks `python` to `python3` when Python 2.7 is not installed
# @description
# This script checks if `python3` is available and if `python` is not available. If both are true, then the script
# symlinks `python` to `python3` so that the `python` command uses `python3`.
#
# This is useful if you do not want to install Python 2.7 and would like Python 3 to be used in all cases.
{{ includeTemplate "universal/profile" }} {{ includeTemplate "universal/profile" }}
{{ includeTemplate "universal/logg" }} {{ includeTemplate "universal/logg" }}