Add script log for elevation scripts.

This commit is contained in:
js0ny 2025-11-08 08:13:06 +00:00
parent 2a1127bf10
commit 6ee67769a6
25 changed files with 102 additions and 99 deletions

View file

@ -0,0 +1,12 @@
#!/bin/sh
# shellcheck shell=sh
{{ if .wheel }}
echo "[ACTION] Elevation required: "
echo " Setting XDG Environment Variables to global scope"
sudo cp $CHEZMOI_SOURCE_DIR/.chezmoitemplates/bash_profile /etc/profile.d/xdg-compat.sh
{{ else }}
{{ end }}