mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
Better templates
This commit is contained in:
parent
1fc2c892a4
commit
8cf2f0af5e
5 changed files with 21 additions and 5 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
{{ if .wheel }}
|
||||
|
||||
echo "[INFO] Use TouchID to authenticate before running sudo commands."
|
||||
echo "[WARNING] This operation modifies critical system files."
|
||||
echo " If something goes wrong, you may need to boot into macOS Recovery Mode to restore your system."
|
||||
|
|
@ -14,3 +16,9 @@ echo ""
|
|||
set -x
|
||||
sudo cp ~/.dotfiles/misc/mac/etc/pam.d/sudo /etc/pam.d/sudo
|
||||
set +x
|
||||
|
||||
{{ else }}
|
||||
|
||||
exit 0 # Exit with success status code
|
||||
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue