From 741f8be2ea76f2b047ea15f31b11964fded3a5e1 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 11 Apr 2023 22:03:34 +0000 Subject: [PATCH] Update 2 files - /home/.chezmoiscripts/universal/run_onchange_after_05-log-config.sh.tmpl - /home/.chezmoiscripts/universal/run_onchange_after_06-bin-symlink.tmpl --- .../universal/run_onchange_after_05-log-config.sh.tmpl | 2 +- .../universal/run_onchange_after_06-bin-symlink.tmpl | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/home/.chezmoiscripts/universal/run_onchange_after_05-log-config.sh.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_05-log-config.sh.tmpl index cdfdceea..dd30a677 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_05-log-config.sh.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_05-log-config.sh.tmpl @@ -1,6 +1,6 @@ {{- if (ne .host.distro.family "windows") -}} #!/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` # @description # This script creates an empty directory with each user's name in `/var/log/user`. It initializes the folder in hopes diff --git a/home/.chezmoiscripts/universal/run_onchange_after_06-bin-symlink.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_06-bin-symlink.tmpl index 0f21bdaf..bd3e809d 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_06-bin-symlink.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_06-bin-symlink.tmpl @@ -1,5 +1,12 @@ {{- if (ne .host.distro.family "windows") -}} #!/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/logg" }}