mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Add script log for elevation scripts.
This commit is contained in:
parent
2a1127bf10
commit
6ee67769a6
25 changed files with 102 additions and 99 deletions
12
home/.chezmoiscripts/unixlike/run_once_bash.sh.tmpl
Normal file
12
home/.chezmoiscripts/unixlike/run_once_bash.sh.tmpl
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue